Fix not being able to open a chest when a Storage Drawer is above it. Closes #173

This commit is contained in:
alexbegt 2019-06-06 12:37:24 -04:00
parent a1339cf6db
commit e24b7b5980
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ public class BlockIronChest extends Block
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;
}