diff options
author | Connor-Colenso <52056774+Connor-Colenso@users.noreply.github.com> | 2023-01-23 06:04:39 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-23 06:04:39 +0000 |
commit | 9318268756df4c2443b98bd8f3b545371713be6f (patch) | |
tree | bace2988bf10e38f5411e782102e62ef5b22b04d | |
parent | a1c18343a1f8d64301dfd09924358180e2a2db9f (diff) | |
parent | 9983cba36e56f1f4d00f2b84b10af53da2c2246b (diff) | |
download | GT5-Unofficial-9318268756df4c2443b98bd8f3b545371713be6f.tar.gz GT5-Unofficial-9318268756df4c2443b98bd8f3b545371713be6f.tar.bz2 GT5-Unofficial-9318268756df4c2443b98bd8f3b545371713be6f.zip |
Merge pull request #53 from GTNewHorizons/fix/lsc-error-spam
fix LSC using -1 as notSet for glasTier
-rw-r--r-- | src/main/java/common/tileentities/GTMTE_LapotronicSuperCapacitor.java | 4 |
1 files changed, 2 insertions, 2 deletions
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; |