2016-09-11 02:42:47 +00:00
|
|
|
From d8a42f222d0f8146e852a3895d3a7eb0e9c267c2 Mon Sep 17 00:00:00 2001
|
2015-05-19 00:03:24 +00:00
|
|
|
From: Zach Brown <zach.brown@destroystokyo.com>
|
2016-02-29 23:09:49 +00:00
|
|
|
Date: Tue, 1 Mar 2016 14:54:32 -0600
|
2015-05-19 00:03:24 +00:00
|
|
|
Subject: [PATCH] Metrics
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/src/main/java/org/spigotmc/Metrics.java b/src/main/java/org/spigotmc/Metrics.java
|
2016-02-29 23:09:49 +00:00
|
|
|
index a5fd59d..680283c 100644
|
2015-05-19 00:03:24 +00:00
|
|
|
--- a/src/main/java/org/spigotmc/Metrics.java
|
|
|
|
+++ b/src/main/java/org/spigotmc/Metrics.java
|
|
|
|
@@ -344,7 +344,7 @@ public class Metrics {
|
|
|
|
*/
|
|
|
|
private void postPlugin(final boolean isPing) throws IOException {
|
|
|
|
// Server software specific section
|
|
|
|
- String pluginName = "Spigot";
|
2016-02-29 23:09:49 +00:00
|
|
|
+ String pluginName = "PaperSpigot"; // Paper - Keep old name for legacy data
|
2015-05-19 00:03:24 +00:00
|
|
|
boolean onlineMode = Bukkit.getServer().getOnlineMode(); // TRUE if online mode is enabled
|
|
|
|
String pluginVersion = (Metrics.class.getPackage().getImplementationVersion() != null) ? Metrics.class.getPackage().getImplementationVersion() : "unknown";
|
|
|
|
String serverVersion = Bukkit.getVersion();
|
|
|
|
--
|
2016-09-11 02:42:47 +00:00
|
|
|
2.10.0.windows.1
|
2015-05-19 00:03:24 +00:00
|
|
|
|