diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/Item.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/Item.java index a3335509e..c8cf65bb5 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/Item.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/Item.java @@ -205,7 +205,9 @@ public class Item implements Bundlable { if (isSimilar( item )) { item.merge( this ); item.updateQuickslot(); - Talent.onItemCollected( Dungeon.hero, item ); + if (Dungeon.hero != null && Dungeon.hero.isAlive()) { + Talent.onItemCollected(Dungeon.hero, item); + } return true; } }