aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYang Xizhi <60341015+GlodBlock@users.noreply.github.com>2022-07-07 14:04:29 +0800
committerGitHub <noreply@github.com>2022-07-07 13:04:29 +0700
commitfa60712f515f6aeb3534e2fb82a7be63c5c6c9c9 (patch)
tree80de58a9d8f7f8315546ff02a09ba0739a4f6536 /src
parent4f83f0d063f5a7a2d9c3470e69201d1accbe62bc (diff)
downloadGT5-Unofficial-fa60712f515f6aeb3534e2fb82a7be63c5c6c9c9.tar.gz
GT5-Unofficial-fa60712f515f6aeb3534e2fb82a7be63c5c6c9c9.tar.bz2
GT5-Unofficial-fa60712f515f6aeb3534e2fb82a7be63c5c6c9c9.zip
fix broken thing (#154)
:feelsDumbMan: Former-commit-id: ef146eb4ab73c028e8b7792cfe3601642012cf03
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/system/material/werkstoff_loaders/recipe/CellLoader.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/main/java/com/github/bartimaeusnek/bartworks/system/material/werkstoff_loaders/recipe/CellLoader.java b/src/main/java/com/github/bartimaeusnek/bartworks/system/material/werkstoff_loaders/recipe/CellLoader.java
index 85c0ec1516..e0997d6399 100644
--- a/src/main/java/com/github/bartimaeusnek/bartworks/system/material/werkstoff_loaders/recipe/CellLoader.java
+++ b/src/main/java/com/github/bartimaeusnek/bartworks/system/material/werkstoff_loaders/recipe/CellLoader.java
@@ -54,10 +54,7 @@ public class CellLoader implements IWerkstoffRunnable {
if (!werkstoff.hasItemType(cell))
return;
- if (werkstoff.hasItemType(dust))
- return;
-
- if (werkstoff.getStats().isElektrolysis() || werkstoff.getStats().isCentrifuge()) {
+ if ((werkstoff.getStats().isElektrolysis() || werkstoff.getStats().isCentrifuge()) && !werkstoff.hasItemType(dust)) {
List<FluidStack> flOutputs = new ArrayList<>();
List<ItemStack> stOutputs = new ArrayList<>();
HashMap<ISubTagContainer, Pair<Integer, Integer>> tracker = new HashMap<>();