We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea45f7c commit 28c6b9cCopy full SHA for 28c6b9c
src/main/java/com/recursive_pineapple/matter_manipulator/common/building/GTAnalysisResult.java
@@ -429,11 +429,11 @@ public boolean apply(IBlockApplyContext ctx) {
429
tt.parametrization.setInputs(mTTParams);
430
}
431
432
- if (mte instanceof MTEHatchEnergyTunnel hatch) {
+ if (mAmperes > 0 && mte instanceof MTEHatchEnergyTunnel hatch) {
433
hatch.Amperes = MMUtils.clamp(mAmperes, 0, hatch.maxAmperes);
434
435
436
- if (mte instanceof MTEHatchDynamoTunnel dynamo) {
+ if (mAmperes > 0 && mte instanceof MTEHatchDynamoTunnel dynamo) {
437
dynamo.Amperes = MMUtils.clamp(mAmperes, 0, dynamo.maxAmperes);
438
439
0 commit comments