Turns out bstats actually needs an update

This commit is contained in:
Blue (Lukas Rieger) 2021-05-16 22:10:19 +02:00
parent bb0dda0bc9
commit 19dcb38617
No known key found for this signature in database
GPG Key ID: 904C4995F9E1F800

View File

@ -86,7 +86,7 @@ public class SpongePlugin implements ServerInterface {
private final List<SpongePlayer> onlinePlayerList; private final List<SpongePlayer> onlinePlayerList;
@Inject @Inject
public SpongePlugin(org.apache.logging.log4j.Logger logger, PluginContainer pluginContainer, Metrics.Factory metricsFactory) { public SpongePlugin(org.apache.logging.log4j.Logger logger, PluginContainer pluginContainer/*, Metrics.Factory metricsFactory*/) {
Logger.global = new Log4J2Logger(logger); Logger.global = new Log4J2Logger(logger);
this.pluginContainer = pluginContainer; this.pluginContainer = pluginContainer;
@ -105,7 +105,7 @@ public SpongePlugin(org.apache.logging.log4j.Logger logger, PluginContainer plug
this.commands = new SpongeCommands(pluginInstance); this.commands = new SpongeCommands(pluginInstance);
//bstats //bstats
metricsFactory.make(5911); //metricsFactory.make(5911);
} }
@Listener @Listener