mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-25 03:55:22 +01:00
Fix possible NPE; resolves #286
This commit is contained in:
parent
27307471e3
commit
7c736d8c90
@ -451,6 +451,9 @@ public class DGroup {
|
||||
* @return the dungeonName
|
||||
*/
|
||||
public String getDungeonName() {
|
||||
if (dungeon == null) {
|
||||
return null;
|
||||
}
|
||||
return dungeon.getName();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user