Fix creative picking a CommandBlock minecart returning wrong item. Closes #1523

This commit is contained in:
Lex Manos 2014-11-28 06:08:39 -08:00
parent 0e91787efb
commit 74a57bd9d6

View file

@ -377,7 +377,7 @@
+ { + {
+ return new ItemStack(Items.field_151140_bW); + return new ItemStack(Items.field_151140_bW);
+ } + }
+ else if (this instanceof EntityMinecartHopper) + else if (this instanceof EntityMinecartCommandBlock)
+ { + {
+ return new ItemStack(Items.field_151095_cc); + return new ItemStack(Items.field_151095_cc);
+ } + }