prefixes drop on mobloot

This commit is contained in:
2023-07-16 09:53:18 -05:00
parent 428ded8728
commit 68e87dabbc
+1 -1
View File
@@ -194,7 +194,7 @@ public class LootManager {
ModTableRow suffixMod = suffixModTable.getRowForRange(new Random().nextInt(maxRollRange) + minRollRange); ModTableRow suffixMod = suffixModTable.getRowForRange(new Random().nextInt(maxRollRange) + minRollRange);
if (suffixMod != null && suffixMod.action.length() > 0) { if (suffixMod != null && suffixMod.action.length() > 0) {
outItem.setSuffix(suffixMod.action); outItem.setSuffix(suffixMod.action);
outItem.addPermanentEnchantment(suffixMod.action, 0, suffixMod.level, true); outItem.addPermanentEnchantment(suffixMod.action, 0, suffixMod.level, false);
} }
} }
} }