summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntityCreature.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/EntityCreature.patch')
-rw-r--r--nms-patches/EntityCreature.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/EntityCreature.patch b/nms-patches/EntityCreature.patch
index 5e75f0a9..7813c998 100644
--- a/nms-patches/EntityCreature.patch
+++ b/nms-patches/EntityCreature.patch
@@ -21,7 +21,7 @@
@@ -76,6 +81,7 @@
- this.s(f);
+ this.q(f);
if (f > 10.0F) {
+ this.world.getServer().getPluginManager().callEvent(new EntityUnleashEvent(this.getBukkitEntity(), EntityUnleashEvent.UnleashReason.DISTANCE)); // CraftBukkit
this.unleash(true, true);