Update Metrics.java

This commit is contained in:
Jesse Boyd 2020-01-07 11:07:03 +11:00 committed by GitHub
parent 1bfe36ee82
commit 5abf6ce2a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -177,7 +177,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 = "FastAsyncWorldEdit";
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