@@ -27,16 +27,16 @@
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -418,7 +425,7 @@
|
||||
@@ -419,7 +426,7 @@
|
||||
int i = mobeffect != null ? mobeffect.getDuration() : 0;
|
||||
int j = Math.min(2400, 100 + i);
|
||||
|
||||
if (i < 2400) {
|
||||
i = Math.min(2400, 100 + i);
|
||||
- entityhuman.addEffect(new MobEffect(MobEffects.REGENERATION, i, 0), this);
|
||||
+ entityhuman.addEffect(new MobEffect(MobEffects.REGENERATION, i, 0), this, org.bukkit.event.entity.EntityPotionEffectEvent.Cause.AXOLOTL); // CraftBukkit
|
||||
- entityhuman.addEffect(new MobEffect(MobEffects.REGENERATION, j, 0), this);
|
||||
+ entityhuman.addEffect(new MobEffect(MobEffects.REGENERATION, j, 0), this, org.bukkit.event.entity.EntityPotionEffectEvent.Cause.AXOLOTL); // CraftBukkit
|
||||
}
|
||||
|
||||
entityhuman.removeEffect(MobEffects.DIG_SLOWDOWN);
|
||||
@@ -468,7 +475,7 @@
|
||||
@@ -469,7 +476,7 @@
|
||||
|
||||
@Override
|
||||
public BehaviorController<Axolotl> getBrain() {
|
||||
|
||||
Reference in New Issue
Block a user