Fix droppers not dropping.
This commit is contained in:
parent
bfa17d2f0d
commit
e611162de5
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue