Update NodeHelper.java

This commit is contained in:
Alastors committed 2023-12-06 02:08:55 -05:00
1 parent c3b0378096
commit f0f51be20e
1 file changed
-9
@@ -118,9 +118,6 @@ public class NodeHelper {
for (Chunk chunk : chunks) {
for (INode node : findNodesInChunkWithinRange(chunk, xCoord, yCoord, zCoord, range)) {
if (node != null) {
if (ThaumicHorizonsHelper.isActive() && node instanceof TileSyntheticNode) {
continue;
}
++attemptedNodes;
AspectList aspectsBase = node.getAspectsBase();
int randBase = Math.max(aspectsBase.visSize(), 1);
@@ -186,9 +183,6 @@ public class NodeHelper {
for (Chunk chunk : chunks) {
INode node = findNode(chunk, xCoord, yCoord, zCoord, range);
if (node != null) {
if (ThaumicHorizonsHelper.isActive() && node instanceof TileSyntheticNode) {
continue;
}
boolean nodeChanged = false;
if (node.getNodeType() == NodeType.UNSTABLE) {
node.setNodeType(NodeType.NORMAL);
@@ -235,9 +229,6 @@ public class NodeHelper {
boolean nodeChanged = false;
for (Chunk chunk : chunks) {
for (INode node : findNodesInChunkWithinRange(chunk, xCoord, yCoord, zCoord, range)) {
if (ThaumicHorizonsHelper.isActive() && node instanceof TileSyntheticNode) {
continue;
}
++attemptedNodes;
NodeType nodeType = node.getNodeType();
if (nodeType != targetType && nodeType != NodeType.NORMAL) {