diff --git a/src/main/java/dev/architectury/loom/forge/tool/ForgeToolExecutor.java b/src/main/java/dev/architectury/loom/forge/tool/ForgeToolExecutor.java index ce3a58c0a..c793cd236 100644 --- a/src/main/java/dev/architectury/loom/forge/tool/ForgeToolExecutor.java +++ b/src/main/java/dev/architectury/loom/forge/tool/ForgeToolExecutor.java @@ -77,13 +77,13 @@ public static ExecResult exec(ExecOperations execOperations, Settings settings) if (settings.getShowVerboseStdout().get()) { spec.setStandardOutput(System.out); } else { - spec.setStandardOutput(NullOutputStream.INSTANCE); + spec.setStandardOutput(NullOutputStream.NULL_OUTPUT_STREAM); } if (settings.getShowVerboseStderr().get()) { spec.setErrorOutput(System.err); } else { - spec.setErrorOutput(NullOutputStream.INSTANCE); + spec.setErrorOutput(NullOutputStream.NULL_OUTPUT_STREAM); } }); }