mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2025-01-27 10:41:21 +01:00
Fix wrong implementation type metrics being sent
This commit is contained in:
parent
fa6c5ea1f5
commit
5b6952a6a5
@ -273,7 +273,7 @@ public synchronized void load() throws IOException, ParseResourceException {
|
|||||||
Thread.sleep(TimeUnit.MINUTES.toMillis(1));
|
Thread.sleep(TimeUnit.MINUTES.toMillis(1));
|
||||||
|
|
||||||
while (true) {
|
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));
|
Thread.sleep(TimeUnit.MINUTES.toMillis(30));
|
||||||
}
|
}
|
||||||
} catch (InterruptedException ex){
|
} catch (InterruptedException ex){
|
||||||
|
Loading…
Reference in New Issue
Block a user