vorg HA fix

This commit is contained in:
FatBoy committed 2024-03-06 19:47:31 -06:00
1 parent d3bf19426c
commit b9ec8fd540
3 files changed
+15 -12

No files matched your search

+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;
}