Merge pull request #2032 from marcin212/patch-1

fixed NPE in WorldProperty
This commit is contained in:
Adrian Siekierka 2014-10-15 17:40:24 +02:00
commit 47fa82e169

View file

@ -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();