diff --git a/TrueCraft.Core/Logic/Blocks/ChestBlock.cs b/TrueCraft.Core/Logic/Blocks/ChestBlock.cs index dec82af..544d335 100644 --- a/TrueCraft.Core/Logic/Blocks/ChestBlock.cs +++ b/TrueCraft.Core/Logic/Blocks/ChestBlock.cs @@ -127,7 +127,7 @@ namespace TrueCraft.Core.Logic.Blocks } } var upSelf = world.BlockRepository.GetBlockProvider(world.GetBlockID(self + Coordinates3D.Up)); - if (upSelf.Opaque && !(up is WallSignBlock)) + if (upSelf.Opaque && !(upSelf is WallSignBlock)) return false; // Obstructed if (adjacent != -Coordinates3D.One)