Browse Source

Bugfix: suffix overwrites prefix.

master
MagicBot 1 year ago
parent
commit
32b5dd3f66
  1. 2
      src/engine/gameManager/LootManager.java

2
src/engine/gameManager/LootManager.java

@ -255,7 +255,7 @@ public enum LootManager { @@ -255,7 +255,7 @@ public enum LootManager {
return inItem;
if (suffixMod.action.length() > 0) {
inItem.setPrefix(suffixMod.action);
inItem.setSuffix(suffixMod.action);
inItem.addPermanentEnchantment(suffixMod.action, 0, suffixMod.level, true);
}

Loading…
Cancel
Save