We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2041cb2 commit cdd2863Copy full SHA for cdd2863
src/main/java/com/recursive_pineapple/matter_manipulator/common/building/GTAnalysisResult.java
@@ -435,11 +435,11 @@ public boolean apply(IBlockApplyContext ctx) {
435
tt.parametrization.setInputs(mTTParams);
436
}
437
438
- if (mte instanceof MTEHatchEnergyTunnel hatch) {
+ if (mAmperes > 0 && mte instanceof MTEHatchEnergyTunnel hatch) {
439
hatch.Amperes = MMUtils.clamp(mAmperes, 0, hatch.maxAmperes);
440
441
442
- if (mte instanceof MTEHatchDynamoTunnel dynamo) {
+ if (mAmperes > 0 && mte instanceof MTEHatchDynamoTunnel dynamo) {
443
dynamo.Amperes = MMUtils.clamp(mAmperes, 0, dynamo.maxAmperes);
444
445
0 commit comments