v0.9.3c: fixed Talent.onItemCollected being called on rankings load
This commit is contained in:
parent
288fcb0a72
commit
f9f24361d4
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user