mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2025-02-21 02:31:59 +01:00
Dont access more data
This commit is contained in:
parent
2f4a8d695d
commit
68e95862dc
@ -209,7 +209,7 @@ public class Metrics {
|
|||||||
String bukkitVersion = org.bukkit.Bukkit.getVersion();
|
String bukkitVersion = org.bukkit.Bukkit.getVersion();
|
||||||
bukkitVersion = bukkitVersion.substring(bukkitVersion.indexOf("MC: ") + 4, bukkitVersion.length() - 1);
|
bukkitVersion = bukkitVersion.substring(bukkitVersion.indexOf("MC: ") + 4, bukkitVersion.length() - 1);
|
||||||
|
|
||||||
// OS/Java specific data
|
/*// OS/Java specific data
|
||||||
String javaVersion = System.getProperty("java.version");
|
String javaVersion = System.getProperty("java.version");
|
||||||
String osName = System.getProperty("os.name");
|
String osName = System.getProperty("os.name");
|
||||||
String osArch = System.getProperty("os.arch");
|
String osArch = System.getProperty("os.arch");
|
||||||
@ -229,7 +229,8 @@ public class Metrics {
|
|||||||
data.addProperty("osArch", osArch);
|
data.addProperty("osArch", osArch);
|
||||||
data.addProperty("osVersion", osVersion);
|
data.addProperty("osVersion", osVersion);
|
||||||
//data.addProperty("coreCount", coreCount);
|
//data.addProperty("coreCount", coreCount);
|
||||||
|
*/
|
||||||
|
JsonObject data = new JsonObject();
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user