forked from MagicBane/Server
Bugfix: suffix overwrites prefix.
This commit is contained in:
@@ -255,7 +255,7 @@ public enum LootManager {
|
|||||||
return inItem;
|
return inItem;
|
||||||
|
|
||||||
if (suffixMod.action.length() > 0) {
|
if (suffixMod.action.length() > 0) {
|
||||||
inItem.setPrefix(suffixMod.action);
|
inItem.setSuffix(suffixMod.action);
|
||||||
inItem.addPermanentEnchantment(suffixMod.action, 0, suffixMod.level, true);
|
inItem.addPermanentEnchantment(suffixMod.action, 0, suffixMod.level, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user