This commit is contained in:
2023-02-16 00:36:19 +00:00
parent fc93e62017
commit 2416ef2d54

View File

@ -63,7 +63,7 @@ public class InfoDumper {
obj.put("players", playersBE);
obj.put("sv_maxClients", maxPlayersBE);
saveJSONFile(String.format("dump\\stats_%d", server.hashCode()), obj);
saveJSONFile(String.format("stats_%d.json", Math.abs(server.hashCode())), obj);
}
public static void saveJSONFile(String fileName, JSONObject obj) {