|
|
|
@ -76,8 +76,7 @@ public class Item extends AbstractWorldObject {
@@ -76,8 +76,7 @@ public class Item extends AbstractWorldObject {
|
|
|
|
|
this.numberOfItems = 1; |
|
|
|
|
this.flags.addAll(this.template.item_flags); |
|
|
|
|
|
|
|
|
|
loadEnchantments(); |
|
|
|
|
applyBakedInStats(); |
|
|
|
|
loadTemplateEnchantments(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
@ -975,7 +974,7 @@ public class Item extends AbstractWorldObject {
@@ -975,7 +974,7 @@ public class Item extends AbstractWorldObject {
|
|
|
|
|
return this.magicValue; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void applyBakedInStats() { |
|
|
|
|
private void loadTemplateEnchantments() { |
|
|
|
|
|
|
|
|
|
EffectsBase effect; |
|
|
|
|
|
|
|
|
@ -1059,7 +1058,7 @@ public class Item extends AbstractWorldObject {
@@ -1059,7 +1058,7 @@ public class Item extends AbstractWorldObject {
|
|
|
|
|
@Override |
|
|
|
|
public void runAfterLoad() { |
|
|
|
|
loadEnchantments(); |
|
|
|
|
applyBakedInStats(); |
|
|
|
|
loadTemplateEnchantments(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|