Browse Source

Unused method

combat-2
MagicBot 8 months ago
parent
commit
a98de7b6fc
  1. 7
      src/engine/objects/Item.java

7
src/engine/objects/Item.java

@ -764,13 +764,6 @@ public class Item extends AbstractWorldObject {
this.bonuses.put(key, amount); this.bonuses.put(key, amount);
} }
public void multBonus(AbstractEffectModifier key, float amount) {
if (this.bonuses.containsKey(key))
this.bonuses.put(key, (this.bonuses.get(key) * amount));
else
this.bonuses.put(key, amount);
}
public synchronized void decrementChargesRemaining() { public synchronized void decrementChargesRemaining() {
this.chargesRemaining -= 1; this.chargesRemaining -= 1;
if (this.chargesRemaining < 0) if (this.chargesRemaining < 0)

Loading…
Cancel
Save