mapping
This commit is contained in:
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))
|
||||
)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user