mirror of
https://github.com/GTNewHorizons/Gadomancy.git
synced 2026-11-22 04:52:14 +00:00
- Node Destruction fix
This commit is contained in:
1 parent
86c43f4549
commit
8304e05c6b
1 file changed
+12
-6
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user