mirror of
https://github.com/diamante0018/ServerList.git
synced 2025-04-19 19:12:54 +00:00
fix
This commit is contained in:
parent
fc93e62017
commit
2416ef2d54
@ -63,7 +63,7 @@ public class InfoDumper {
|
|||||||
obj.put("players", playersBE);
|
obj.put("players", playersBE);
|
||||||
obj.put("sv_maxClients", maxPlayersBE);
|
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) {
|
public static void saveJSONFile(String fileName, JSONObject obj) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user