Fix pick block key giving invalid spawn eggs
This commit is contained in:
parent
de24eea885
commit
8940b13512
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@
|
|||
+ else
|
||||
+ {
|
||||
+ 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);
|
||||
+ }
|
||||
|
|
Loading…
Reference in a new issue