vorg HA fix

This commit is contained in:
2024-03-06 19:47:31 -06:00
parent d3bf19426c
commit b9ec8fd540
3 changed files with 15 additions and 12 deletions
+7
View File
@@ -164,6 +164,13 @@ public final class MobLoot extends Item {
item.addPermanentEnchantment(this.suffix, 0);
this.junk();
if (item.getItemBase().isVorg()) {
item.getEnchants().clear();
for (String powerString : item.getItemBase().getVorgStats()) {
item.addPermanentEnchantment(powerString, 0);
}
this.setName(item.getItemBase().getName());
}
return item;
}