Skip to content

Commit

Permalink
revert controller change that seems to break stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
tth05 committed Oct 18, 2020
1 parent 9201c99 commit 70ab474
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Comparator;
import java.util.List;
import java.util.function.Predicate;
Expand Down Expand Up @@ -217,10 +218,7 @@ public void update() {
couldRun = canRun;
throttlingDisabled = false;

if(!canRun)
nodeGraph.disconnectAll();
else
nodeGraph.invalidate(Action.PERFORM, world, pos);
nodeGraph.invalidate(Action.PERFORM, world, pos);
securityManager.invalidate();
}
} else {
Expand Down Expand Up @@ -395,7 +393,7 @@ public StackListResult<FluidStack> insertFluid(@Nonnull FluidStack stack, long s

@Override
public StackListResult<FluidStack> extractFluid(@Nonnull FluidStack stack, long size, int flags, Action action,
Predicate<IStorage<FluidStack>> filter) {
Predicate<IStorage<FluidStack>> filter) {
long received = 0;
long extractedExternally = 0;

Expand Down

0 comments on commit 70ab474

Please sign in to comment.