diff --git a/SpigotCore_Main/src/de/steamwar/sql/SWException.java b/SpigotCore_Main/src/de/steamwar/sql/SWException.java index 7aa6cf7..0622a89 100644 --- a/SpigotCore_Main/src/de/steamwar/sql/SWException.java +++ b/SpigotCore_Main/src/de/steamwar/sql/SWException.java @@ -30,7 +30,7 @@ public class SWException { private static final String serverVersion = Bukkit.getServer().getVersion(); private static final String cwd = System.getProperty("user.dir"); - private static final String server = new File(".").getAbsoluteFile().getName(); + private static final String server = new File(cwd).getName(); public static void log(String message, String stacktrace){ StringBuilder msgBuilder = new StringBuilder(message).append("\nPlayers: ");