From 07dcf9a41af79b9d1d33f597c37eea4ae8e691db Mon Sep 17 00:00:00 2001 From: Mary <33456283+FourIsTheNumber@users.noreply.github.com> Date: Tue, 26 Nov 2024 15:54:23 -0500 Subject: [PATCH] Waterline fixes (#3558) --- src/main/java/gregtech/api/enums/SoundResource.java | 2 +- .../machines/multi/purification/MTEPurificationUnitBase.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/gregtech/api/enums/SoundResource.java b/src/main/java/gregtech/api/enums/SoundResource.java index f262dc2619a..ec2327e04ef 100644 --- a/src/main/java/gregtech/api/enums/SoundResource.java +++ b/src/main/java/gregtech/api/enums/SoundResource.java @@ -70,7 +70,7 @@ public enum SoundResource { GT_MACHINES_PURIFICATION_PH_LOOP(237, GregTech.ID, "machines.PurificationPhLoop"), GT_MACHINES_COAGULATION_LOOP(238, GregTech.ID, "machines.PurificationCoagulationLoop"), GT_MACHINES_OZONATION_LOOP(239, GregTech.ID, "machines.PurificationOzonationLoop"), - GT_MACHINES_PURIFICATION_PLASMA_LOOP(240, "machines.PurificationPlasmaLoop"), + GT_MACHINES_PURIFICATION_PLASMA_LOOP(240, GregTech.ID, "machines.PurificationPlasmaLoop"), GT_MACHINES_MULTI_LATHE_LOOP(241, GregTech.ID, "machines.MultiLatheLoop"), GT_MACHINES_MULTI_AUTOCLAVE_LOOP(242, GregTech.ID, "machines.MultiAutoclaveLoop"), diff --git a/src/main/java/gregtech/common/tileentities/machines/multi/purification/MTEPurificationUnitBase.java b/src/main/java/gregtech/common/tileentities/machines/multi/purification/MTEPurificationUnitBase.java index 14ac444842e..714d189fa29 100644 --- a/src/main/java/gregtech/common/tileentities/machines/multi/purification/MTEPurificationUnitBase.java +++ b/src/main/java/gregtech/common/tileentities/machines/multi/purification/MTEPurificationUnitBase.java @@ -416,8 +416,8 @@ public void startCycle(int cycleTime, int progressTime) { } public void addRecipeOutputs() { - this.addFluidOutputs(mOutputFluids); - this.addItemOutputs(mOutputItems); + if (mOutputFluids != null) this.addFluidOutputs(mOutputFluids); + if (mOutputItems != null) this.addItemOutputs(mOutputItems); } public void endCycle() {