From 267d04a82b3a146833d43eebe4482f3ec2719a04 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sat, 12 Dec 2020 19:08:45 -0500 Subject: [PATCH] v0.9.1a: fixed unIDed/cursed hourglasses spawning sand --- .../shatteredpixeldungeon/levels/rooms/special/ShopRoom.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/rooms/special/ShopRoom.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/rooms/special/ShopRoom.java index 64f96acf8..01d50a373 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/rooms/special/ShopRoom.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/rooms/special/ShopRoom.java @@ -228,7 +228,7 @@ public class ShopRoom extends SpecialRoom { itemsToSpawn.add( new StoneOfAugmentation() ); TimekeepersHourglass hourglass = Dungeon.hero.belongings.getItem(TimekeepersHourglass.class); - if (hourglass != null){ + if (hourglass != null && hourglass.isIdentified() && !hourglass.cursed){ int bags = 0; //creates the given float percent of the remaining bags to be dropped. //this way players who get the hourglass late can still max it, usually.