forked from MagicBane/Server
vorg stats finalized
This commit is contained in:
@@ -164,13 +164,8 @@ 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());
|
||||
}
|
||||
if(item.getItemBase().isVorg())
|
||||
Item.BakeVorgStats(item);
|
||||
return item;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user