summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntityEnderDragon.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/EntityEnderDragon.patch')
-rw-r--r--nms-patches/EntityEnderDragon.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/nms-patches/EntityEnderDragon.patch b/nms-patches/EntityEnderDragon.patch
index 8c1b4cde..cd259333 100644
--- a/nms-patches/EntityEnderDragon.patch
+++ b/nms-patches/EntityEnderDragon.patch
@@ -47,7 +47,7 @@
}
@@ -399,6 +412,10 @@
- int j1 = MathHelper.floor(axisalignedbb.f);
+ int j1 = MathHelper.floor(axisalignedbb.maxZ);
boolean flag = false;
boolean flag1 = false;
+ // CraftBukkit start - Create a list to hold all the destroyed blocks
@@ -111,5 +111,5 @@
+ // CraftBukkit end
+
if (flag1) {
- double d0 = axisalignedbb.a + (axisalignedbb.d - axisalignedbb.a) * (double) this.random.nextFloat();
- double d1 = axisalignedbb.b + (axisalignedbb.e - axisalignedbb.b) * (double) this.random.nextFloat();
+ double d0 = axisalignedbb.minX + (axisalignedbb.maxX - axisalignedbb.minX) * (double) this.random.nextFloat();
+ double d1 = axisalignedbb.minY + (axisalignedbb.maxY - axisalignedbb.minY) * (double) this.random.nextFloat();