8000 Fix portal create event block list (#12373) · PaperMC/Paper@9cddf13 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Commit 9cddf13

Browse files
authored
Fix portal create event block list (#12373)
1 parent 767868d commit 9cddf13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paper-server/patches/sources/net/minecraft/world/level/portal/PortalShape.java.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
}
123123
+ // CraftBukkit start - left and right
124124
+ blocks.setBlock(checkPos.set(pos).move(Direction.UP, i).move(direction, -1), level.getBlockState(checkPos), 18);
125-
+ blocks.setBlock(checkPos.set(pos).move(Direction.UP, i).move(direction, i), level.getBlockState(checkPos), 18);
125+
+ blocks.setBlock(checkPos.set(pos).move(Direction.UP, i).move(direction, width), level.getBlockState(checkPos), 18); // Paper - fix block list
126126
+ // CraftBukkit end
127127
}
128128

0 commit comments

Comments
 (0)
0