From 4bbd803d8bd823ef35e50f32ed2b74f3e8869498 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Wed, 30 Jul 2025 13:33:43 -0400 Subject: [PATCH] v3.2.0: wndGuess now shows the item to guess in the title, not stone --- .../items/stones/StoneOfIntuition.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/stones/StoneOfIntuition.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/stones/StoneOfIntuition.java index 2beafe554..9e29c3dc8 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/stones/StoneOfIntuition.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/stones/StoneOfIntuition.java @@ -99,14 +99,14 @@ public class StoneOfIntuition extends InventoryStone { public WndGuess(final Item item){ IconTitle titlebar = new IconTitle(); - titlebar.icon( new ItemSprite(ItemSpriteSheet.STONE_INTUITION, null) ); - titlebar.label( Messages.titleCase(Messages.get(StoneOfIntuition.class, "name")) ); + titlebar.icon( new ItemSprite(item) ); + titlebar.label( Messages.titleCase(item.name()) ); titlebar.setRect( 0, 0, WIDTH, 0 ); add( titlebar ); RenderedTextBlock text = PixelScene.renderTextBlock(6); text.text( Messages.get(this, "text") ); - text.setPos(0, titlebar.bottom()); + text.setPos(0, titlebar.bottom()+2); text.maxWidth( WIDTH ); add(text);