@@ -1,8 +1,8 @@
|
||||
--- a/net/minecraft/world/effect/HealOrHarmMobEffect.java
|
||||
+++ b/net/minecraft/world/effect/HealOrHarmMobEffect.java
|
||||
@@ -17,7 +17,7 @@
|
||||
public void applyEffectTick(EntityLiving entityliving, int i) {
|
||||
super.applyEffectTick(entityliving, i);
|
||||
@@ -16,7 +16,7 @@
|
||||
@Override
|
||||
public boolean applyEffectTick(EntityLiving entityliving, int i) {
|
||||
if (this.isHarm == entityliving.isInvertedHealAndHarm()) {
|
||||
- entityliving.heal((float) Math.max(4 << i, 0));
|
||||
+ entityliving.heal((float) Math.max(4 << i, 0), org.bukkit.event.entity.EntityRegainHealthEvent.RegainReason.MAGIC); // CraftBukkit
|
||||
|
||||
Reference in New Issue
Block a user