mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-11-06 08:22:59 +00:00
@@ -78,7 +78,7 @@ public final class InventoryUtil
|
||||
if( y >= 0 && y < world.getHeight() )
|
||||
{
|
||||
BlockEntity tileEntity = world.getBlockEntity( pos );
|
||||
if( tileEntity != null )
|
||||
if( tileEntity instanceof Inventory )
|
||||
{
|
||||
return (Inventory) tileEntity;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user