diff --git a/src/main/java/makeo/gadomancy/common/node/GrowingNodeBehavior.java b/src/main/java/makeo/gadomancy/common/node/GrowingNodeBehavior.java index 26bf162..3442822 100644 --- a/src/main/java/makeo/gadomancy/common/node/GrowingNodeBehavior.java +++ b/src/main/java/makeo/gadomancy/common/node/GrowingNodeBehavior.java @@ -202,21 +202,27 @@ public class GrowingNodeBehavior { fixedNode.markDirty(); needUpdate = true; } else { + if(baseAspects.size() <= 1) { + int x = fixedNode.xCoord; + int y = fixedNode.yCoord; + int z = fixedNode.zCoord; + removeFixedNode(x, y, z); + needUpdate = true; + } baseAspects.remove(a); currentAspects.remove(a); + return needUpdate; + } + } else { + if(baseAspects.size() <= 1) { int x = fixedNode.xCoord; int y = fixedNode.yCoord; int z = fixedNode.zCoord; removeFixedNode(x, y, z); - return needUpdate; + needUpdate = true; } - } else { baseAspects.remove(a); currentAspects.remove(a); - int x = fixedNode.xCoord; - int y = fixedNode.yCoord; - int z = fixedNode.zCoord; - removeFixedNode(x, y, z); return needUpdate; } }