diff options
Diffstat (limited to 'patch-remap/mache-vineflower-stripped/net/minecraft/world/effect/RegenerationMobEffect.java.patch')
-rw-r--r-- | patch-remap/mache-vineflower-stripped/net/minecraft/world/effect/RegenerationMobEffect.java.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/patch-remap/mache-vineflower-stripped/net/minecraft/world/effect/RegenerationMobEffect.java.patch b/patch-remap/mache-vineflower-stripped/net/minecraft/world/effect/RegenerationMobEffect.java.patch new file mode 100644 index 0000000000..0bdab8d665 --- /dev/null +++ b/patch-remap/mache-vineflower-stripped/net/minecraft/world/effect/RegenerationMobEffect.java.patch @@ -0,0 +1,11 @@ +--- a/net/minecraft/world/effect/RegenerationMobEffect.java ++++ b/net/minecraft/world/effect/RegenerationMobEffect.java +@@ -11,7 +12,7 @@ + public void applyEffectTick(LivingEntity livingEntity, int amplifier) { + super.applyEffectTick(livingEntity, amplifier); + if (livingEntity.getHealth() < livingEntity.getMaxHealth()) { +- livingEntity.heal(1.0F); ++ livingEntity.heal(1.0F, org.bukkit.event.entity.EntityRegainHealthEvent.RegainReason.MAGIC_REGEN); // CraftBukkit + } + } + |