Fix silk touch on Ender Chests.

This commit is contained in:
LexManos 2012-08-28 16:36:19 -07:00
parent 18f3d41a5b
commit 895365d9b9

View file

@ -451,7 +451,7 @@
+ */
+ public boolean canSilkHarvest(World world, EntityPlayer player, int x, int y, int z, int metadata)
+ {
+ if (this instanceof BlockGlass)
+ if (this instanceof BlockGlass || this instanceof BlockEnderChest)
+ {
+ return true;
+ }