diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/weapon/SpiritBow.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/weapon/SpiritBow.java index 04ce4675b..701ef0ec7 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/weapon/SpiritBow.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/weapon/SpiritBow.java @@ -142,7 +142,8 @@ public class SpiritBow extends Weapon { @Override public int level() { - return Dungeon.hero.lvl/5; + //need to check if hero is null for loading an upgraded bow from pre-0.7.0 + return Dungeon.hero == null ? 0 : Dungeon.hero.lvl/5; } @Override