SPIGOT-6840: Fire resistance potion effect does not prevent melt damage of snow golem

By: Doc <nachito94@msn.com>
This commit is contained in:
CraftBukkit/Spigot 2021-12-10 09:01:47 +11:00
parent 6b9458a6a7
commit 9f768b5caf

View file

@ -18,8 +18,8 @@ public final class CraftDamageSource extends DamageSource {
}
// Check fire
if (original.isExplosion()) {
newSource.setExplosion();
if (original.isFire()) {
newSource.setIsFire();
}
return newSource;