From b819ad4c3ff1b3c2055c1612d334e8b59ff77b45 Mon Sep 17 00:00:00 2001 From: marcin212 Date: Tue, 30 Sep 2014 18:32:59 +0200 Subject: [PATCH] fixed NPE in WorldProperty probably fix: https://gist.github.com/marcin212/8e73b41a6269f0825d03 --- common/buildcraft/core/utils/WorldProperty.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/buildcraft/core/utils/WorldProperty.java b/common/buildcraft/core/utils/WorldProperty.java index 34523b33..ee309aa7 100755 --- a/common/buildcraft/core/utils/WorldProperty.java +++ b/common/buildcraft/core/utils/WorldProperty.java @@ -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();