Fix possible NPE; resolves #286

This commit is contained in:
Daniel Saukel 2018-05-24 21:14:56 +02:00
parent 27307471e3
commit 7c736d8c90

View File

@ -451,6 +451,9 @@ public class DGroup {
* @return the dungeonName
*/
public String getDungeonName() {
if (dungeon == null) {
return null;
}
return dungeon.getName();
}