Browse Source

stop bonus calc spam

lakebane-ai
FatBoy-DOTC 3 weeks ago
parent
commit
81d6a55096
  1. 4
      src/engine/objects/AbstractCharacter.java

4
src/engine/objects/AbstractCharacter.java

@ -1718,7 +1718,11 @@ public abstract class AbstractCharacter extends AbstractWorldObject {
// clear bonuses and reapply rune bonuses // clear bonuses and reapply rune bonuses
if (this.getObjectType().equals(GameObjectType.PlayerCharacter)) { if (this.getObjectType().equals(GameObjectType.PlayerCharacter)) {
try {
this.bonuses.calculateRuneBaseEffects((PlayerCharacter) this); this.bonuses.calculateRuneBaseEffects((PlayerCharacter) this);
}catch(Exception ignored){
}
} else { } else {
this.bonuses.clearRuneBaseEffects(); this.bonuses.clearRuneBaseEffects();
} }

Loading…
Cancel
Save