mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 00:37:52 +00:00
Fix droppers not dropping.
This commit is contained in:
1 parent
bfa17d2f0d
commit
e611162de5
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user