From 560d1677657a0151b09524be01eb6e252a97e8e1 Mon Sep 17 00:00:00 2001 From: Nicholas Ignoffo Date: Thu, 26 Apr 2018 19:12:14 -0700 Subject: [PATCH] Check the proper maps when looking up fluid priorities (#1286) When copypasta goes wrong. --- .../bloodmagic/tile/routing/TileMasterRoutingNode.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/WayofTime/bloodmagic/tile/routing/TileMasterRoutingNode.java b/src/main/java/WayofTime/bloodmagic/tile/routing/TileMasterRoutingNode.java index 776901f4..51318fdc 100644 --- a/src/main/java/WayofTime/bloodmagic/tile/routing/TileMasterRoutingNode.java +++ b/src/main/java/WayofTime/bloodmagic/tile/routing/TileMasterRoutingNode.java @@ -98,7 +98,7 @@ public class TileMasterRoutingNode extends TileInventory implements IMasterRouti if (filter != null) { int priority = outputNode.getPriority(facing); - if (outputMap.containsKey(priority)) + if (outputFluidMap.containsKey(priority)) { outputFluidMap.get(priority).add(filter); } else @@ -164,7 +164,7 @@ public class TileMasterRoutingNode extends TileInventory implements IMasterRouti if (filter != null) { int priority = inputNode.getPriority(facing); - if (inputMap.containsKey(priority)) + if (inputFluidMap.containsKey(priority)) { inputFluidMap.get(priority).add(filter); } else