Skip to content

Commit a12cd1a

Browse files
committed
update crystal proximity checks for new range
Now that MC-102774 is fixed it's possible to respawn the dragon from one block further horizontally.
1 parent fe91bd9 commit a12cd1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paper-server/patches/sources/net/minecraft/world/level/dimension/end/EnderDragonFight.java.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
+
139139
+ int dx = placedEndCrystalPos.getX() - location.getX();
140140
+ int dz = placedEndCrystalPos.getZ() - location.getZ();
141-
+ if (!((dx >= -1 && dx <= 1 && dz >= -3 && dz <= 3) || (dx >= -3 && dx <= 3 && dz >= -1 && dz <= 1))) {
141+
+ if (!((dx >= -1 && dx <= 1 && dz >= -4 && dz <= 4) || (dx >= -4 && dx <= 4 && dz >= -1 && dz <= 1))) {
142142
+ return false;
143143
+ }
144144
+ }

0 commit comments

Comments
 (0)