diff --git a/common/src/main/java/dev/isxander/debugify/mixins/basic/client/mc148149/OperatingSystemMixin.java b/common/src/main/java/dev/isxander/debugify/mixins/basic/client/mc148149/OperatingSystemMixin.java index d2da6889..a4bbd9cd 100644 --- a/common/src/main/java/dev/isxander/debugify/mixins/basic/client/mc148149/OperatingSystemMixin.java +++ b/common/src/main/java/dev/isxander/debugify/mixins/basic/client/mc148149/OperatingSystemMixin.java @@ -25,7 +25,12 @@ public abstract class OperatingSystemMixin { public void open(URL url) { try { Debugify.logger.info("Opening non-blocking URL. You may see system errors in the logs you can ignore."); - AccessController.doPrivileged((PrivilegedExceptionAction)() -> new ProcessBuilder().command(this.getURLOpenCommand(url)).redirectError(ProcessBuilder.Redirect.INHERIT).start()); + AccessController.doPrivileged((PrivilegedExceptionAction)() -> + new ProcessBuilder() + .command(this.getURLOpenCommand(url)) + .redirectError(ProcessBuilder.Redirect.INHERIT) + .start() + ); } catch (PrivilegedActionException e) { UtilAccessor.getLogger().error("Couldn't open url '{}'", url, e); }