From 09228f631dae4beb1f64c930b6d67b7359af60dc Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sun, 22 May 2022 18:19:21 -0400 Subject: [PATCH] v1.3.0: fixed an error with seed assignment --- .../java/com/shatteredpixel/shatteredpixeldungeon/Dungeon.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/Dungeon.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/Dungeon.java index 38fc0951a..28fc9e72d 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/Dungeon.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/Dungeon.java @@ -189,7 +189,7 @@ public class Dungeon { challenges = SPDSettings.challenges(); mobsToChampion = -1; - if (SPDSettings.customSeed() != ""){ + if (!SPDSettings.customSeed().isEmpty()){ customSeedText = SPDSettings.customSeed(); seed = DungeonSeed.convertFromText(customSeedText); } else {