@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user