geforkt von Mirrors/Paper
f243a4024d
Removes PlayerMicroMoveEvent API, the ability to disable the AsyncCatcher, and the TeleportPassengerVehicleWithPlayer patch
23 Zeilen
1023 B
Diff
23 Zeilen
1023 B
Diff
From 23dd01f0baff0c2b06f42048d6d77c31a49e029d Mon Sep 17 00:00:00 2001
|
|
From: Zach Brown <zach.brown@destroystokyo.com>
|
|
Date: Mon, 18 May 2015 18:58:44 -0500
|
|
Subject: [PATCH] Metrics
|
|
|
|
|
|
diff --git a/src/main/java/org/spigotmc/Metrics.java b/src/main/java/org/spigotmc/Metrics.java
|
|
index a5fd59d..558989c 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"; // PaperSpigot - We need some usage 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.5.1
|
|
|