Tweaks for ocelots. fix mcmod.info
This commit is contained in:
parent
00b8a500d9
commit
8b48a515f1
|
@ -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")
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue