stop bonus calc spam

This commit is contained in:
2025-02-01 11:19:42 -06:00
parent 55d9cf6d26
commit 81d6a55096
+5 -1
View File
@@ -1718,7 +1718,11 @@ public abstract class AbstractCharacter extends AbstractWorldObject {
// clear bonuses and reapply rune bonuses
if (this.getObjectType().equals(GameObjectType.PlayerCharacter)) {
this.bonuses.calculateRuneBaseEffects((PlayerCharacter) this);
try {
this.bonuses.calculateRuneBaseEffects((PlayerCharacter) this);
}catch(Exception ignored){
}
} else {
this.bonuses.clearRuneBaseEffects();
}