From 15a7e586dda057a15a9d80712b3d4daeb38f0d31 Mon Sep 17 00:00:00 2001 From: Daniel Saukel Date: Wed, 30 Nov 2016 18:50:06 +0100 Subject: [PATCH] Fix dungeon setup check; resolves #183 --- .../main/java/io/github/dre2n/dungeonsxl/dungeon/Dungeon.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/io/github/dre2n/dungeonsxl/dungeon/Dungeon.java b/core/src/main/java/io/github/dre2n/dungeonsxl/dungeon/Dungeon.java index 9458eb66..75155018 100644 --- a/core/src/main/java/io/github/dre2n/dungeonsxl/dungeon/Dungeon.java +++ b/core/src/main/java/io/github/dre2n/dungeonsxl/dungeon/Dungeon.java @@ -71,7 +71,7 @@ public class Dungeon { * @return false if there are setup errors */ public boolean isSetupCorrect() { - return config.getStartFloor() == null || config.getEndFloor() == null; + return config.getStartFloor() != null && config.getEndFloor() != null; } }