Prevent notification of neighbors when an FMP part is removed from the world.
This commit is contained in:
parent
01b3292d30
commit
410cc6172d
1 changed files with 2 additions and 1 deletions
|
@ -482,7 +482,8 @@ public class CableBusPart extends JCuboidPart implements JNormalOcclusion, IReds
|
||||||
@Override
|
@Override
|
||||||
public void partChanged()
|
public void partChanged()
|
||||||
{
|
{
|
||||||
notifyNeighbors();
|
if ( isInWorld() )
|
||||||
|
notifyNeighbors();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue