From 68e95862dce4266a8e1ed4676ea4dd55d7a0c626 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Fri, 12 Jan 2024 14:06:06 +1300 Subject: [PATCH] Dont access more data --- .../me/libraryaddict/disguise/utilities/metrics/Metrics.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugin/src/main/java/me/libraryaddict/disguise/utilities/metrics/Metrics.java b/plugin/src/main/java/me/libraryaddict/disguise/utilities/metrics/Metrics.java index cd295dbd..bb8768f7 100644 --- a/plugin/src/main/java/me/libraryaddict/disguise/utilities/metrics/Metrics.java +++ b/plugin/src/main/java/me/libraryaddict/disguise/utilities/metrics/Metrics.java @@ -209,7 +209,7 @@ public class Metrics { String bukkitVersion = org.bukkit.Bukkit.getVersion(); 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 osName = System.getProperty("os.name"); String osArch = System.getProperty("os.arch"); @@ -229,7 +229,8 @@ public class Metrics { data.addProperty("osArch", osArch); data.addProperty("osVersion", osVersion); //data.addProperty("coreCount", coreCount); - +*/ + JsonObject data = new JsonObject(); return data; }