v0.9.1a: fixed unIDed/cursed hourglasses spawning sand

This commit is contained in:
Evan Debenham 2020-12-12 19:08:45 -05:00
parent bffdeae055
commit 267d04a82b

View File

@ -228,7 +228,7 @@ public class ShopRoom extends SpecialRoom {
itemsToSpawn.add( new StoneOfAugmentation() ); itemsToSpawn.add( new StoneOfAugmentation() );
TimekeepersHourglass hourglass = Dungeon.hero.belongings.getItem(TimekeepersHourglass.class); TimekeepersHourglass hourglass = Dungeon.hero.belongings.getItem(TimekeepersHourglass.class);
if (hourglass != null){ if (hourglass != null && hourglass.isIdentified() && !hourglass.cursed){
int bags = 0; int bags = 0;
//creates the given float percent of the remaining bags to be dropped. //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. //this way players who get the hourglass late can still max it, usually.