Fix not being able to open a chest when a Storage Drawer is above it. Closes #173
This commit is contained in:
parent
a1339cf6db
commit
e24b7b5980
|
|
@ -124,7 +124,7 @@ public class BlockIronChest extends Block
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (worldIn.isSideSolid(pos.add(0, 1, 0), EnumFacing.DOWN))
|
if (worldIn.getBlockState(pos.up()).doesSideBlockChestOpening(worldIn, pos.up(), EnumFacing.DOWN))
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue