From fb2ef0cb866873e02a56a2a394e6db35d33a3bb4 Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Sun, 26 Oct 2025 00:09:21 +0200 Subject: [PATCH] Add Dev Command --- src/main/kotlin/commands/dev/DevCommand.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/commands/dev/DevCommand.kt b/src/main/kotlin/commands/dev/DevCommand.kt index ff6f633..b7da4b2 100644 --- a/src/main/kotlin/commands/dev/DevCommand.kt +++ b/src/main/kotlin/commands/dev/DevCommand.kt @@ -50,7 +50,7 @@ class DevCommand : CliktCommand("dev") { val server by argument().help("Server Template") val port by option("--port").long().default( if (System.getProperty("os.name").lowercase() == "windows" - ) 2050 else UnixSystem().uid + ) 2050 else (UnixSystem().uid + 1010) ).help("Port for Server") val world by option("--world", "-w").help("User World") val plugins by option("--plugins", "-p").help("Plugin Dir")