From e127cadbd9e8c83c381a07a38ef883326a234131 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sat, 4 Jul 2015 16:37:29 -0600 Subject: [PATCH] Do not consider signs above self as obstructions ...to chests --- TrueCraft.Core/Logic/Blocks/ChestBlock.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TrueCraft.Core/Logic/Blocks/ChestBlock.cs b/TrueCraft.Core/Logic/Blocks/ChestBlock.cs index fe79aaa..dec82af 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) + if (upSelf.Opaque && !(up is WallSignBlock)) return false; // Obstructed if (adjacent != -Coordinates3D.One)