diff options
author | GDCloud <93287602+GDCloudstrike@users.noreply.github.com> | 2024-11-13 11:26:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-13 10:26:40 +0000 |
commit | 65367dfdcb91c37a2638a513acc17e22c7effae6 (patch) | |
tree | c2ff955c88acbdc6ed985299d658cf9e9fbff2b6 /src/main/java | |
parent | 479ab37a236feb22b4db57176cc7857d7c1f5262 (diff) | |
download | GT5-Unofficial-65367dfdcb91c37a2638a513acc17e22c7effae6.tar.gz GT5-Unofficial-65367dfdcb91c37a2638a513acc17e22c7effae6.tar.bz2 GT5-Unofficial-65367dfdcb91c37a2638a513acc17e22c7effae6.zip |
Add nbt safeguard for dtpf convergence catalyst type (#3486)
Co-authored-by: Martin Robertz <dream-master@gmx.net>
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/gregtech/common/tileentities/machines/multi/MTEPlasmaForge.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/gregtech/common/tileentities/machines/multi/MTEPlasmaForge.java b/src/main/java/gregtech/common/tileentities/machines/multi/MTEPlasmaForge.java index 705aa03916..5045645956 100644 --- a/src/main/java/gregtech/common/tileentities/machines/multi/MTEPlasmaForge.java +++ b/src/main/java/gregtech/common/tileentities/machines/multi/MTEPlasmaForge.java @@ -1265,7 +1265,7 @@ public class MTEPlasmaForge extends MTEExtendedPowerMultiBlockBase<MTEPlasmaForg public void loadNBTData(final NBTTagCompound aNBT) { running_time = aNBT.getLong("eRunningTime"); discount = aNBT.getDouble("eLongDiscountValue"); - catalystTypeForRecipesWithoutCatalyst = aNBT.getInteger("catalystType"); + if (aNBT.hasKey("catalystType")) catalystTypeForRecipesWithoutCatalyst = aNBT.getInteger("catalystType"); convergence = aNBT.getBoolean("convergence"); super.loadNBTData(aNBT); } |