diff --git a/src/engine/gameManager/ForgeManager.java b/src/engine/gameManager/ForgeManager.java index 86ffc095..85b92d1f 100644 --- a/src/engine/gameManager/ForgeManager.java +++ b/src/engine/gameManager/ForgeManager.java @@ -16,7 +16,6 @@ import engine.net.DispatchMessage; import engine.net.client.msg.ItemProductionMsg; import engine.objects.*; import engine.powers.EffectsBase; -import engine.powers.poweractions.AbstractPowerAction; import org.pmw.tinylog.Logger; import java.util.ArrayList; @@ -396,8 +395,8 @@ public enum ForgeManager implements Runnable { if (rollForModifier < 80) { int randomModifier = LootManager.TableRoll(vendor.getLevel(), false); modTableEntry = ModTableEntry.rollTable(modTypeTableEntry.modTableID, randomModifier); - AbstractPowerAction abstractPowerAction = PowersManager.getPowerActionByIDString(modTableEntry.action); - modifier = abstractPowerAction.getEffectsBase().getToken(); + EffectsBase effectsBase = PowersManager.getEffectByIDString(modTableEntry.action); + modifier = effectsBase.getToken(); } return modifier;