fix: more potion effect desync fixed

This commit is contained in:
WinDanesz
2026-05-12 15:12:13 +00:00
parent 255d5add29
commit ae7064f5be
24 changed files with 58 additions and 54 deletions
@@ -62,7 +62,7 @@ public class EntityBlizzard extends EntityScaledConstruct {
}
// All entities are slowed, even the caster (except those immune to frost effects)
if(!MagicDamage.isEntityImmune(DamageType.FROST, target))
if(!world.isRemote && !MagicDamage.isEntityImmune(DamageType.FROST, target))
target.addPotionEffect(new PotionEffect(WizardryPotions.frost, 20, 0));
}