mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-28 13:36:33 +01:00
Fix dungeon setup check; resolves #183
This commit is contained in:
parent
f6e8be33a5
commit
15a7e586dd
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user