mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-01-24 07:56:54 +00:00
parent
200311033f
commit
0db080154c
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user