forked from MagicBane/Server
vorg HA fix
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user