mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-02-08 16:31:58 +01:00
Fix Metrics plugin name reporting
This commit is contained in:
parent
e59950966f
commit
35fc845040
@ -190,7 +190,7 @@ public class Metrics {
|
|||||||
public JsonObject getPluginData() {
|
public JsonObject getPluginData() {
|
||||||
JsonObject data = new JsonObject();
|
JsonObject data = new JsonObject();
|
||||||
|
|
||||||
String pluginName = plugin.getDescription().getName();
|
String pluginName = plugin.getDescription().getName().replace("Essentials", "EssentialsX");
|
||||||
String pluginVersion = plugin.getDescription().getVersion();
|
String pluginVersion = plugin.getDescription().getVersion();
|
||||||
|
|
||||||
data.addProperty("pluginName", pluginName); // Append the name of the plugin
|
data.addProperty("pluginName", pluginName); // Append the name of the plugin
|
||||||
|
Loading…
Reference in New Issue
Block a user