summaryrefslogtreecommitdiffstats
path: root/nms-patches/EnderDragonBattle.patch
blob: 59158e3e95534d4e18644f5adb3307926c96d956 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/net/minecraft/server/EnderDragonBattle.java
+++ b/net/minecraft/server/EnderDragonBattle.java
@@ -249,7 +249,7 @@
                         ShapeDetector.ShapeDetectorCollection shapedetector_shapedetectorcollection = this.f.a(this.d, tileentity.getPosition());
 
                         if (shapedetector_shapedetectorcollection != null) {
-                            BlockPosition blockposition = shapedetector_shapedetectorcollection.a(3, 3, 4).getPosition();
+                            BlockPosition blockposition = shapedetector_shapedetectorcollection.a(3, 3, 3).getPosition(); // CraftBukkit - 4 -> 3
 
                             if (this.o == null && blockposition.getX() == 0 && blockposition.getZ() == 0) {
                                 this.o = blockposition;
@@ -269,7 +269,7 @@
 
             if (shapedetector_shapedetectorcollection1 != null) {
                 if (this.o == null) {
-                    this.o = shapedetector_shapedetectorcollection1.a(3, 3, 4).getPosition();
+                    this.o = shapedetector_shapedetectorcollection1.a(3, 3, 3).getPosition(); // CraftBukkit - 4 -> 3
                 }
 
                 return shapedetector_shapedetectorcollection1;