Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-16 21:10:30 +01:00
Merge pull request #505 from Cybermaxke/fix-bstats-error
Fix bStats error when starting in dev.
Dieser Commit ist enthalten in:
Commit
045b974096
@ -52,6 +52,11 @@ public class Metrics {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Disable the relocate check if velocity doesn't have bStats relocated, this happens in dev
|
||||||
|
if (!MetricsBase.class.getPackageName().startsWith(getClass().getPackageName())) {
|
||||||
|
System.setProperty("bstats.relocatecheck", "false");
|
||||||
|
}
|
||||||
|
|
||||||
metricsBase = new MetricsBase(
|
metricsBase = new MetricsBase(
|
||||||
"server-implementation",
|
"server-implementation",
|
||||||
config.getServerUUID(),
|
config.getServerUUID(),
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren