From 9f768b5caf15795efcb14198ef47ad3ea75fbe8a Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Fri, 10 Dec 2021 09:01:47 +1100 Subject: [PATCH] SPIGOT-6840: Fire resistance potion effect does not prevent melt damage of snow golem By: Doc --- .../java/org/bukkit/craftbukkit/util/CraftDamageSource.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/util/CraftDamageSource.java b/paper-server/src/main/java/org/bukkit/craftbukkit/util/CraftDamageSource.java index cc2ae9421c..c2cfb00ae4 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/util/CraftDamageSource.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/util/CraftDamageSource.java @@ -18,8 +18,8 @@ public final class CraftDamageSource extends DamageSource { } // Check fire - if (original.isExplosion()) { - newSource.setExplosion(); + if (original.isFire()) { + newSource.setIsFire(); } return newSource;