Change metrics implementation key for paper and spigot
This commit is contained in:
parent
2c341fc894
commit
97c6640721
|
@ -94,7 +94,7 @@ public class BukkitPlugin extends JavaPlugin implements Server, Listener {
|
||||||
this.scheduledTasks = Collections.synchronizedCollection(Collections.newSetFromMap(new WeakHashMap<>()));
|
this.scheduledTasks = Collections.synchronizedCollection(Collections.newSetFromMap(new WeakHashMap<>()));
|
||||||
|
|
||||||
this.eventForwarder = new EventForwarder();
|
this.eventForwarder = new EventForwarder();
|
||||||
this.pluginInstance = new Plugin("bukkit", this);
|
this.pluginInstance = new Plugin("paper", this);
|
||||||
this.commands = new BukkitCommands(this.pluginInstance);
|
this.commands = new BukkitCommands(this.pluginInstance);
|
||||||
|
|
||||||
this.worlds = Caffeine.newBuilder()
|
this.worlds = Caffeine.newBuilder()
|
||||||
|
|
|
@ -90,7 +90,7 @@ public class BukkitPlugin extends JavaPlugin implements Server, Listener {
|
||||||
this.onlinePlayerList = Collections.synchronizedList(new ArrayList<>());
|
this.onlinePlayerList = Collections.synchronizedList(new ArrayList<>());
|
||||||
|
|
||||||
this.eventForwarder = new EventForwarder();
|
this.eventForwarder = new EventForwarder();
|
||||||
this.pluginInstance = new Plugin("bukkit", this);
|
this.pluginInstance = new Plugin("spigot", this);
|
||||||
this.commands = new BukkitCommands(this.pluginInstance);
|
this.commands = new BukkitCommands(this.pluginInstance);
|
||||||
|
|
||||||
this.worlds = Caffeine.newBuilder()
|
this.worlds = Caffeine.newBuilder()
|
||||||
|
|
Loading…
Reference in New Issue