Allow chest blocks to open into signs

This commit is contained in:
Drew DeVault 2015-07-04 15:52:08 -06:00
parent 87b621e166
commit afb15bf218

View File

@ -121,7 +121,7 @@ namespace TrueCraft.Core.Logic.Blocks
{ {
adjacent = test; adjacent = test;
var up = world.BlockRepository.GetBlockProvider(world.GetBlockID(test + Coordinates3D.Up)); var up = world.BlockRepository.GetBlockProvider(world.GetBlockID(test + Coordinates3D.Up));
if (up.Opaque) if (up.Opaque && !(up is WallSignBlock)) // Wall sign blocks are an exception
return false; // Obstructed return false; // Obstructed
break; break;
} }