mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-08-31 22:30:15 +00:00
SPIGOT-6840: Fire resistance potion effect does not prevent melt damage of snow golem
This commit is contained in:
parent
35d3986e9e
commit
8b98c8ed0b
1 changed files with 2 additions and 2 deletions
|
@ -18,8 +18,8 @@ public final class CraftDamageSource extends DamageSource {
|
|||
}
|
||||
|
||||
// Check fire
|
||||
if (original.isExplosion()) {
|
||||
newSource.setExplosion();
|
||||
if (original.isFire()) {
|
||||
newSource.setIsFire();
|
||||
}
|
||||
|
||||
return newSource;
|
||||
|
|
Loading…
Add table
Reference in a new issue