diff options
Diffstat (limited to 'nms-patches/EntityDolphin.patch')
-rw-r--r-- | nms-patches/EntityDolphin.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/EntityDolphin.patch b/nms-patches/EntityDolphin.patch index fbb63290..8b681bd9 100644 --- a/nms-patches/EntityDolphin.patch +++ b/nms-patches/EntityDolphin.patch @@ -12,7 +12,7 @@ @@ -429,7 +429,7 @@ } - if (this.c.bb() && this.c.world.random.nextInt(6) == 0) { + if (this.c.isSwimming() && this.c.world.random.nextInt(6) == 0) { - this.c.addEffect(new MobEffect(MobEffects.DOLPHINS_GRACE, 100)); + this.c.addEffect(new MobEffect(MobEffects.DOLPHINS_GRACE, 100), org.bukkit.event.entity.EntityPotionEffectEvent.Cause.DOLPHIN); // CraftBukkit } |