diff --git a/bootstrap/standalone/build.gradle.kts b/bootstrap/standalone/build.gradle.kts index 9c2194445..f5aaceab8 100644 --- a/bootstrap/standalone/build.gradle.kts +++ b/bootstrap/standalone/build.gradle.kts @@ -26,4 +26,11 @@ tasks.withType { archiveBaseName.set("Geyser-Standalone") transform(Log4j2PluginsCacheFileTransformer()) -} \ No newline at end of file +} + +tasks.named("run") { + val dir = projectDir.resolve("run") + dir.mkdirs() + jvmArgs("-Dio.netty.leakDetection.level=PARANOID") + workingDir = dir +}