Check if network is loaded. Cherry-pick from #2618
This commit is contained in:
@@ -133,7 +133,7 @@ public class CrafterNetworkNode extends NetworkNode implements ICraftingPatternC
|
||||
invalidate();
|
||||
}
|
||||
|
||||
if (mode == CrafterMode.PULSE_INSERTS_NEXT_SET) {
|
||||
if (mode == CrafterMode.PULSE_INSERTS_NEXT_SET && world.isBlockPresent(pos)) {
|
||||
if (world.isBlockPowered(pos)) {
|
||||
this.wasPowered = true;
|
||||
|
||||
|
||||
@@ -71,6 +71,10 @@ public class StorageMonitorNetworkNode extends NetworkNode implements IComparabl
|
||||
public void update() {
|
||||
super.update();
|
||||
|
||||
if (!canUpdate()) {
|
||||
return;
|
||||
}
|
||||
|
||||
int newAmount = getAmount();
|
||||
|
||||
if (oldAmount == -1) {
|
||||
|
||||
Reference in New Issue
Block a user