Browse Source

Item prefix and suffix applied

combat-2
MagicBot 8 months ago
parent
commit
c0ed59f14f
  1. 2
      src/engine/gameManager/ForgeManager.java

2
src/engine/gameManager/ForgeManager.java

@ -296,7 +296,7 @@ public enum ForgeManager implements Runnable { @@ -296,7 +296,7 @@ public enum ForgeManager implements Runnable {
forgedItem.addPermanentEnchantment(prefix.getIDString(), 0);
}
if (forgedItem.prefixToken != 0) {
if (forgedItem.suffixToken != 0) {
EffectsBase suffix = PowersManager.getEffectByToken(forgedItem.suffixToken);
forgedItem.addPermanentEnchantment(suffix.getIDString(), 0);
}

Loading…
Cancel
Save