From 9983cba36e56f1f4d00f2b84b10af53da2c2246b Mon Sep 17 00:00:00 2001 From: Glease <4586901+Glease@users.noreply.github.com> Date: Mon, 23 Jan 2023 14:02:00 +0800 Subject: fix LSC using -1 as notSet for glasTier --- src/main/java/common/tileentities/GTMTE_LapotronicSuperCapacitor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/common/tileentities') diff --git a/src/main/java/common/tileentities/GTMTE_LapotronicSuperCapacitor.java b/src/main/java/common/tileentities/GTMTE_LapotronicSuperCapacitor.java index be1a6b2f63..a0ab670136 100644 --- a/src/main/java/common/tileentities/GTMTE_LapotronicSuperCapacitor.java +++ b/src/main/java/common/tileentities/GTMTE_LapotronicSuperCapacitor.java @@ -180,7 +180,7 @@ public class GTMTE_LapotronicSuperCapacitor withChannel( "glass", BorosilicateGlass.ofBoroGlass( - (byte) -1, + (byte) -2, (te, t) -> te.glassTier = t, te -> te.glassTier)))), onlyIf( @@ -518,7 +518,7 @@ public class GTMTE_LapotronicSuperCapacitor mMaxEUIn = 0; mMaxEUOut = 0; - glassTier = -1; + glassTier = -2; casingAmount = 0; if (!checkPiece(STRUCTURE_PIECE_BASE, 2, 1, 0)) return false; -- cgit