|
|
@ -681,7 +681,12 @@ public class Item extends AbstractWorldObject { |
|
|
|
if (item.getItemBase().isVorg()) { |
|
|
|
if (item.getItemBase().isVorg()) { |
|
|
|
item.getEnchants().clear(); |
|
|
|
item.getEnchants().clear(); |
|
|
|
for (String powerString : item.getItemBase().getVorgStats()) { |
|
|
|
for (String powerString : item.getItemBase().getVorgStats()) { |
|
|
|
item.addPermanentEnchantment(powerString, 0); |
|
|
|
try { |
|
|
|
|
|
|
|
item.addPermanentEnchantment(powerString, 0); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
catch(Exception e){ |
|
|
|
|
|
|
|
Logger.error("Couldn't find enchantment for: " + powerString); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
item.setName(item.getItemBase().getName()); |
|
|
|
item.setName(item.getItemBase().getName()); |
|
|
|
} |
|
|
|
} |
|
|
|