This commit is contained in:
gnembon committed 2020-03-22 23:35:01 -03:00
1 parent 52aab4a6cb
commit c7ea2c08f9
1 file changed
+2 -2
@@ -110,8 +110,8 @@ public class SpawnHelperMixin
BlockState state = world.getBlockState(blockpos);
Block block = state.getBlock();
if (
block.matches(BlockTags.FENCES) ||
block.matches(BlockTags.WALLS) ||
block.isIn(BlockTags.FENCES) ||
block.isIn(BlockTags.WALLS) ||
((block instanceof FenceGateBlock) && !state.get(FenceGateBlock.OPEN))
)
{