mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-05 18:27:17 +01:00
SPIGOT-6840: Fire resistance potion effect does not prevent melt damage of snow golem
By: Doc <nachito94@msn.com>
This commit is contained in:
parent
6b9458a6a7
commit
9f768b5caf
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…
Reference in a new issue