stop bonus calc spam
This commit is contained in:
@@ -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)) {
|
||||||
this.bonuses.calculateRuneBaseEffects((PlayerCharacter) this);
|
try {
|
||||||
|
this.bonuses.calculateRuneBaseEffects((PlayerCharacter) this);
|
||||||
|
}catch(Exception ignored){
|
||||||
|
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
this.bonuses.clearRuneBaseEffects();
|
this.bonuses.clearRuneBaseEffects();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user