diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/scrolls/exotic/ScrollOfDivination.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/scrolls/exotic/ScrollOfDivination.java index 026a73828..7f08d77a9 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/scrolls/exotic/ScrollOfDivination.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/scrolls/exotic/ScrollOfDivination.java @@ -62,11 +62,6 @@ public class ScrollOfDivination extends ExoticScroll { int total = potions.size() + scrolls.size() + rings.size(); - if (total == 0){ - GLog.n( Messages.get(this, "nothing_left") ); - return; - } - ArrayList IDed = new ArrayList<>(); int left = 4; @@ -115,8 +110,12 @@ public class ScrollOfDivination extends ExoticScroll { left --; total --; } - - GameScene.show(new WndDivination( IDed )); + + if (total == 0){ + GLog.n( Messages.get(this, "nothing_left") ); + } else { + GameScene.show(new WndDivination(IDed)); + } readAnimation(); identify();