From 8c89e688fdca2ebd2294f6f4a8d7e54c7a0db3e6 Mon Sep 17 00:00:00 2001 From: yuko1101 <68993883+yuko1101@users.noreply.github.com> Date: Wed, 15 May 2024 11:01:29 +0900 Subject: [PATCH] Fix application run task exits while running server --- build.gradle | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build.gradle b/build.gradle index b4dfc9d..61b9706 100644 --- a/build.gradle +++ b/build.gradle @@ -114,6 +114,11 @@ application { mainClassName = 'emu.lunarcore.LunarCore' } +run { + // Set the standard input to wait for user input + standardInput = System.in +} + jar { dependsOn 'injectGitHash'