From 7fb7f46ca7be5758e1dc2c0742c67bd39ccc9503 Mon Sep 17 00:00:00 2001 From: D4rkr34lm Date: Sun, 14 Jun 2026 00:58:41 +0200 Subject: [PATCH] Fix path issues --- .../src/de/steamwar/velocitycore/ServerStarter.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/VelocityCore/src/de/steamwar/velocitycore/ServerStarter.java b/VelocityCore/src/de/steamwar/velocitycore/ServerStarter.java index 85a537f8..64e8705b 100644 --- a/VelocityCore/src/de/steamwar/velocitycore/ServerStarter.java +++ b/VelocityCore/src/de/steamwar/velocitycore/ServerStarter.java @@ -201,8 +201,8 @@ public class ServerStarter { private void tempWorld(String template) { worldDir = TEMP_WORLD_PATH; - worldSetup = () -> copyWorld(node, template, worldDir + worldName); - worldCleanup = () -> SubserverSystem.deleteFolder(node, worldDir + worldName); + worldSetup = () -> copyWorld(node, template, new File(worldDir, worldName).getPath()); + worldCleanup = () -> SubserverSystem.deleteFolder(node, new File(worldDir, worldName).getPath()); } private void buildWithTemp(Player owner) { @@ -396,4 +396,4 @@ public class ServerStarter { } } -} \ No newline at end of file +}