Allow chest blocks to open into signs
This commit is contained in:
parent
87b621e166
commit
afb15bf218
@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user