Skip to content

Commit 4015021

Browse files
committed
Fix not displaying the position for invalid controllers in a fusion reactor (#8117)
1 parent 7338c82 commit 4015021

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/generators/java/mekanism/generators/common/content/fusion/FusionReactorValidator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ protected FormationResult validateFrame(FormationProtocol<FusionReactorMultibloc
5252
} else if (!isControllerPos && controller) {
5353
//When the controller is potentially outside the multiblock we need to make sure to not allow ignoring the failure
5454
// as otherwise we may allow duplicate controllers
55-
return FormationResult.fail(MekanismLang.MULTIBLOCK_INVALID_CONTROLLER_CONFLICT, true);
55+
return FormationResult.fail(MekanismLang.MULTIBLOCK_INVALID_CONTROLLER_CONFLICT, pos, true);
5656
}
5757
return super.validateFrame(ctx, pos, state, type, needsFrame);
5858
}

0 commit comments

Comments
 (0)