Tweaks for ocelots. fix mcmod.info

This commit is contained in:
Christian 2012-08-14 13:42:17 -04:00
parent 00b8a500d9
commit 8b48a515f1
2 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ import net.minecraftforge.event.entity.living.LivingSpecialSpawnEvent;
public class OcelotsSitOnChestsHandler { public class OcelotsSitOnChestsHandler {
@ForgeSubscribe @ForgeSubscribe
public void changeSittingTaskForOcelots(LivingEvent.LivingUpdateEvent evt) { 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; EntityOcelot ocelot = (EntityOcelot) evt.entityLiving;
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")

View File

@ -1,6 +1,6 @@
[ [
{ {
"modid": "mod_IronChest", "modid": "IronChest",
"name": "Iron Chest", "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", The feature chest is the crystal chest, which is transparent - some inventory contents are visible without opening the chest",