Fix portal create event block list (#12373)

This commit is contained in:
gecko10000
2025-04-24 09:10:13 -07:00
committed by GitHub
parent 767868ddbf
commit 9cddf136d7

View File

@@ -122,7 +122,7 @@
}
+ // CraftBukkit start - left and right
+ blocks.setBlock(checkPos.set(pos).move(Direction.UP, i).move(direction, -1), level.getBlockState(checkPos), 18);
+ blocks.setBlock(checkPos.set(pos).move(Direction.UP, i).move(direction, i), level.getBlockState(checkPos), 18);
+ blocks.setBlock(checkPos.set(pos).move(Direction.UP, i).move(direction, width), level.getBlockState(checkPos), 18); // Paper - fix block list
+ // CraftBukkit end
}