diff --git a/src/main/java/com/gildedgames/the_aether/entities/EntitiesAether.java b/src/main/java/com/gildedgames/the_aether/entities/EntitiesAether.java index 97325ba..b3f555c 100644 --- a/src/main/java/com/gildedgames/the_aether/entities/EntitiesAether.java +++ b/src/main/java/com/gildedgames/the_aether/entities/EntitiesAether.java @@ -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 entityClass, String entityName, int entityID, int trackingRange, int updateFrequency, boolean sendsVelocityUpdates) { diff --git a/src/main/java/com/gildedgames/the_aether/entities/effects/PotionInebriation.java b/src/main/java/com/gildedgames/the_aether/entities/effects/PotionInebriation.java index e0f19b7..ca16ed0 100644 --- a/src/main/java/com/gildedgames/the_aether/entities/effects/PotionInebriation.java +++ b/src/main/java/com/gildedgames/the_aether/entities/effects/PotionInebriation.java @@ -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;