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

This commit is contained in:
Doc 2021-12-10 09:01:47 +11:00 committed by md_5
parent 35d3986e9e
commit 8b98c8ed0b
No known key found for this signature in database
GPG Key ID: E8E901AC7C617C11

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;