fixed NPE in WorldProperty
probably fix: https://gist.github.com/marcin212/8e73b41a6269f0825d03
This commit is contained in:
parent
e5cbc8bd95
commit
b819ad4c3f
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