Fixed multiplayer inebriation crash. Don't know how it took two versions to notice this but luckily someone pointed it out.
This commit is contained in:
parent
3178485ce0
commit
5cc931a20a
|
@ -5,6 +5,7 @@ import java.util.Map;
|
|||
|
||||
import com.gildedgames.the_aether.Aether;
|
||||
import com.gildedgames.the_aether.entities.bosses.valkyrie_queen.EntityValkyrieQueen;
|
||||
import com.gildedgames.the_aether.entities.effects.PotionInebriation;
|
||||
import com.gildedgames.the_aether.entities.passive.EntityAerwhale;
|
||||
import com.gildedgames.the_aether.entities.passive.EntityMiniCloud;
|
||||
import com.gildedgames.the_aether.entities.passive.EntitySheepuff;
|
||||
|
@ -99,6 +100,7 @@ public class EntitiesAether {
|
|||
register(EntityAetherItem.class, "aether_item", 32, 160, 20, true);
|
||||
|
||||
AetherMoaTypes.initialization();
|
||||
PotionInebriation.initialization();
|
||||
}
|
||||
|
||||
public static void register(Class<? extends Entity> entityClass, String entityName, int entityID, int trackingRange, int updateFrequency, boolean sendsVelocityUpdates) {
|
||||
|
|
|
@ -21,7 +21,12 @@ import net.minecraft.world.WorldServer;
|
|||
|
||||
public class PotionInebriation extends Potion
|
||||
{
|
||||
public static Potion inebriation = new PotionInebriation();
|
||||
public static Potion inebriation;
|
||||
|
||||
public static void initialization()
|
||||
{
|
||||
inebriation = new PotionInebriation();
|
||||
}
|
||||
|
||||
private int duration;
|
||||
|
||||
|
|
Loading…
Reference in New Issue