Do not consider signs above self as obstructions

...to chests
This commit is contained in:
Drew DeVault 2015-07-04 16:37:29 -06:00
parent afb15bf218
commit e127cadbd9

View File

@ -127,7 +127,7 @@ namespace TrueCraft.Core.Logic.Blocks
} }
} }
var upSelf = world.BlockRepository.GetBlockProvider(world.GetBlockID(self + Coordinates3D.Up)); var upSelf = world.BlockRepository.GetBlockProvider(world.GetBlockID(self + Coordinates3D.Up));
if (upSelf.Opaque) if (upSelf.Opaque && !(up is WallSignBlock))
return false; // Obstructed return false; // Obstructed
if (adjacent != -Coordinates3D.One) if (adjacent != -Coordinates3D.One)