Browse Source

Unused method removed

combat-2
MagicBot 8 months ago
parent
commit
2391bd6606
  1. 12
      src/engine/gameManager/ItemManager.java

12
src/engine/gameManager/ItemManager.java

@ -4,7 +4,6 @@ import engine.loot.WorkOrder;
import engine.mbEnums; import engine.mbEnums;
import engine.objects.*; import engine.objects.*;
import engine.powers.EffectsBase; import engine.powers.EffectsBase;
import engine.powers.poweractions.AbstractPowerAction;
import org.pmw.tinylog.Logger; import org.pmw.tinylog.Logger;
import java.util.EnumSet; import java.util.EnumSet;
@ -227,17 +226,6 @@ public enum ItemManager {
return true; return true;
} }
public static void applyPrefixOrSuffix(Item item, String powerAction) {
AbstractPowerAction abstractPowerAction = PowersManager.getPowerActionByIDString(powerAction);
if (abstractPowerAction == null)
return;
abstractPowerAction.applyEffectForItem(item, 0);
item.getEffectNames().add(powerAction);
}
public static int validate(WorkOrder workOrder) { public static int validate(WorkOrder workOrder) {
int validation_result = 0; int validation_result = 0;

Loading…
Cancel
Save