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);
|
BlockState state = world.getBlockState(blockpos);
|
||||||
Block block = state.getBlock();
|
Block block = state.getBlock();
|
||||||
if (
|
if (
|
||||||
block.matches(BlockTags.FENCES) ||
|
block.isIn(BlockTags.FENCES) ||
|
||||||
block.matches(BlockTags.WALLS) ||
|
block.isIn(BlockTags.WALLS) ||
|
||||||
((block instanceof FenceGateBlock) && !state.get(FenceGateBlock.OPEN))
|
((block instanceof FenceGateBlock) && !state.get(FenceGateBlock.OPEN))
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user