diff --git a/IronChests2/common/cpw/mods/ironchest/OcelotsSitOnChestsHandler.java b/IronChests2/common/cpw/mods/ironchest/OcelotsSitOnChestsHandler.java index e1bffbf..885244a 100644 --- a/IronChests2/common/cpw/mods/ironchest/OcelotsSitOnChestsHandler.java +++ b/IronChests2/common/cpw/mods/ironchest/OcelotsSitOnChestsHandler.java @@ -12,7 +12,7 @@ import net.minecraftforge.event.entity.living.LivingSpecialSpawnEvent; public class OcelotsSitOnChestsHandler { @ForgeSubscribe public void changeSittingTaskForOcelots(LivingEvent.LivingUpdateEvent evt) { - if (evt.entityLiving instanceof EntityOcelot && evt.entityLiving.ticksExisted < 5) + if (evt.entityLiving.ticksExisted < 5 && evt.entityLiving instanceof EntityOcelot) { EntityOcelot ocelot = (EntityOcelot) evt.entityLiving; @SuppressWarnings("unchecked") diff --git a/IronChests2/mcmod.info b/IronChests2/mcmod.info index 0ddf6f9..98f0a0a 100644 --- a/IronChests2/mcmod.info +++ b/IronChests2/mcmod.info @@ -1,8 +1,8 @@ [ { - "modid": "mod_IronChest", + "modid": "IronChest", "name": "Iron Chest", - "description": "New chests with larger sizes, with in-place upgrade items. + "description": "New chests with larger sizes, with in-place upgrade items. The feature chest is the crystal chest, which is transparent - some inventory contents are visible without opening the chest", "version": "@VERSION@", "mcversion": "1.2.5",