v0.6.5: fixed armors from prior saves defaulting to evasive imbue

This commit is contained in:
Evan Debenham 2018-04-25 17:55:22 -04:00 committed by Evan Debenham
parent 1c6c608aa9
commit 5274bcfc37

View File

@ -128,7 +128,8 @@ public class Armor extends EquipableItem {
hitsToKnow = bundle.getInt( UNFAMILIRIARITY );
inscribe((Glyph) bundle.get(GLYPH));
seal = (BrokenSeal)bundle.get(SEAL);
augment = bundle.getEnum(AUGMENT, Augment.class);
//pre-0.6.5 saves
if (bundle.contains(AUGMENT)) augment = bundle.getEnum(AUGMENT, Augment.class);
}
@Override