Crash fix

This commit is contained in:
Anuken
2019-05-03 10:26:56 -04:00
parent a161c09441
commit 4b9bcfb014
2 changed files with 3 additions and 2 deletions

View File

@@ -224,7 +224,7 @@ public class Saves{
}
public Zone getZone(){
return content.getByID(ContentType.zone, meta.rules.zone);
return meta == null || meta.rules == null ? null : content.getByID(ContentType.zone, meta.rules.zone);
}
public int getBuild(){