Do not consider signs above self as obstructions
...to chests
This commit is contained in:
parent
afb15bf218
commit
e127cadbd9
@ -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)
|
||||||
|
Reference in New Issue
Block a user