Fix droppers not dropping.

This commit is contained in:
RainWarrior 2016-02-03 19:11:33 +03:00
parent bfa17d2f0d
commit e611162de5

View file

@ -57,7 +57,7 @@ public class VanillaInventoryCodeHooks
BlockPos offsetPos = pos.offset(enumfacing);
TileEntity tileEntity = world.getTileEntity(offsetPos);
if (tileEntity == null)
return false;
return true;
if (!tileEntity.hasCapability(CapabilityItemHandler.ITEM_HANDLER_CAPABILITY, enumfacing.getOpposite()))
return true;