v2.0.0: fixed a crash when transferring class armor with no seal
This commit is contained in:
committed by
Evan Debenham
parent
a5813a7e27
commit
93f7d6c7c6
@@ -234,11 +234,13 @@ abstract public class ClassArmor extends Armor {
|
||||
cursed = armor.cursed;
|
||||
curseInfusionBonus = armor.curseInfusionBonus;
|
||||
masteryPotionBonus = armor.masteryPotionBonus;
|
||||
if (armor.checkSeal() != null) seal = armor.checkSeal();
|
||||
if (seal.level() > 0){
|
||||
int newLevel = trueLevel()+1;
|
||||
level(newLevel);
|
||||
Badges.validateItemLevelAquired(ClassArmor.this);
|
||||
if (armor.checkSeal() != null) {
|
||||
seal = armor.checkSeal();
|
||||
if (seal.level() > 0) {
|
||||
int newLevel = trueLevel() + 1;
|
||||
level(newLevel);
|
||||
Badges.validateItemLevelAquired(ClassArmor.this);
|
||||
}
|
||||
}
|
||||
|
||||
identify();
|
||||
|
||||
Reference in New Issue
Block a user