Merge pull request #2032 from marcin212/patch-1
fixed NPE in WorldProperty
This commit is contained in:
commit
47fa82e169
1 changed files with 3 additions and 1 deletions
|
@ -49,7 +49,9 @@ public abstract class WorldProperty implements IWorldProperty {
|
|||
@Override
|
||||
public void clear() {
|
||||
for (DimensionProperty p : properties) {
|
||||
p.clear();
|
||||
if (p != null) {
|
||||
p.clear();
|
||||
}
|
||||
}
|
||||
|
||||
properties.clear();
|
||||
|
|
Loading…
Reference in a new issue