diff options
Diffstat (limited to 'patches/server/0653-Make-EntityUnleashEvent-cancellable.patch')
-rw-r--r-- | patches/server/0653-Make-EntityUnleashEvent-cancellable.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0653-Make-EntityUnleashEvent-cancellable.patch b/patches/server/0653-Make-EntityUnleashEvent-cancellable.patch index 17065b886a..17a8a654c4 100644 --- a/patches/server/0653-Make-EntityUnleashEvent-cancellable.patch +++ b/patches/server/0653-Make-EntityUnleashEvent-cancellable.patch @@ -5,10 +5,10 @@ Subject: [PATCH] Make EntityUnleashEvent cancellable diff --git a/src/main/java/net/minecraft/world/entity/Mob.java b/src/main/java/net/minecraft/world/entity/Mob.java -index c17ea8bdbbd5581b4a2728564fad72f6bb518f66..bb29725ea06128fb2386c50d088316fea01c312c 100644 +index 2e8b1d7b81e212a7b06f4844d0633241dc4b77bf..1e997c1758ed86dc563983317ceb17e626b8dba7 100644 --- a/src/main/java/net/minecraft/world/entity/Mob.java +++ b/src/main/java/net/minecraft/world/entity/Mob.java -@@ -1551,7 +1551,7 @@ public abstract class Mob extends LivingEntity implements Targeting { +@@ -1549,7 +1549,7 @@ public abstract class Mob extends LivingEntity implements Targeting { if (flag1 && this.isLeashed()) { // Paper start - drop leash variable EntityUnleashEvent event = new EntityUnleashEvent(this.getBukkitEntity(), EntityUnleashEvent.UnleashReason.UNKNOWN, true); |