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.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/nms-patches/EntityEnderDragon.patch b/nms-patches/EntityEnderDragon.patch
index 974f5d4f..456f569a 100644
--- a/nms-patches/EntityEnderDragon.patch
+++ b/nms-patches/EntityEnderDragon.patch
@@ -21,6 +21,15 @@
public EntityEnderDragon(World world) {
super(world);
+@@ -169,7 +175,7 @@
+
+ Vec3D vec3d = idragoncontroller.g();
+
+- if (vec3d != null) {
++ if (vec3d != null && idragoncontroller.i() != DragonControllerPhase.k) { // CraftBukkit - Don't move when hovering
+ d0 = vec3d.x - this.locX;
+ d1 = vec3d.y - this.locY;
+ d2 = vec3d.z - this.locZ;
@@ -308,7 +314,14 @@
if (this.currentEnderCrystal.dead) {
this.currentEnderCrystal = null;