Fix wrong implementation type metrics being sent

This commit is contained in:
Blue (Lukas Rieger) 2020-02-09 23:01:15 +01:00
parent fa6c5ea1f5
commit 5b6952a6a5

View File

@ -273,7 +273,7 @@ public synchronized void load() throws IOException, ParseResourceException {
Thread.sleep(TimeUnit.MINUTES.toMillis(1));
while (true) {
if (serverInterface.isMetricsEnabled(config.isMetricsEnabled())) Metrics.sendReport("Sponge");
if (serverInterface.isMetricsEnabled(config.isMetricsEnabled())) Metrics.sendReport(this.implementationType);
Thread.sleep(TimeUnit.MINUTES.toMillis(30));
}
} catch (InterruptedException ex){