mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-06 10:49:40 +01:00
0728696e06
Base our vanish changes on top of that event.
23 lines
1022 B
Diff
23 lines
1022 B
Diff
From ee38e5a5f229f8adad1383883452f365de3e1b6b Mon Sep 17 00:00:00 2001
|
|
From: Zach Brown <zach.brown@destroystokyo.com>
|
|
Date: Tue, 1 Mar 2016 14:54:32 -0600
|
|
Subject: [PATCH] Metrics
|
|
|
|
|
|
diff --git a/src/main/java/org/spigotmc/Metrics.java b/src/main/java/org/spigotmc/Metrics.java
|
|
index a5fd59d..680283c 100644
|
|
--- 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";
|
|
+ String pluginName = "PaperSpigot"; // Paper - Keep old name for legacy data
|
|
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();
|
|
--
|
|
2.9.3
|
|
|