SteamWar/SpigotCore
Archiviert
13
0

Fix file name
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
Lixfel 2022-08-24 14:42:08 +02:00
Ursprung 982779607f
Commit b241ac378a

Datei anzeigen

@ -30,7 +30,7 @@ public class SWException {
private static final String serverVersion = Bukkit.getServer().getVersion(); private static final String serverVersion = Bukkit.getServer().getVersion();
private static final String cwd = System.getProperty("user.dir"); 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){ public static void log(String message, String stacktrace){
StringBuilder msgBuilder = new StringBuilder(message).append("\nPlayers: "); StringBuilder msgBuilder = new StringBuilder(message).append("\nPlayers: ");