Merge pull request #175 from iChun/patch-2
Fix pick block key giving invalid spawn eggs
This commit is contained in:
commit
8c76914ef2
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