Logic derped

This commit is contained in:
iChun 2012-09-18 22:53:28 +08:00
parent 8940b13512
commit 3188218a37

View file

@ -119,7 +119,7 @@
+ else + else
+ { + {
+ int id = EntityList.getEntityID(this); + int id = EntityList.getEntityID(this);
+ if (!(id <= 0 || !EntityList.entityEggs.containsKey(id))) + if (id > 0 && !EntityList.entityEggs.containsKey(id))
+ { + {
+ return new ItemStack(Item.monsterPlacer, 1, id); + return new ItemStack(Item.monsterPlacer, 1, id);
+ } + }