From 410cc6172d8857af8d9c14d575b043005aa6f8e7 Mon Sep 17 00:00:00 2001 From: AlgorithmX2 Date: Mon, 11 Aug 2014 19:44:48 -0500 Subject: [PATCH] Prevent notification of neighbors when an FMP part is removed from the world. --- fmp/CableBusPart.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fmp/CableBusPart.java b/fmp/CableBusPart.java index 8b0df29cf..162eb3e10 100644 --- a/fmp/CableBusPart.java +++ b/fmp/CableBusPart.java @@ -482,7 +482,8 @@ public class CableBusPart extends JCuboidPart implements JNormalOcclusion, IReds @Override public void partChanged() { - notifyNeighbors(); + if ( isInWorld() ) + notifyNeighbors(); } @Override