Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-16 21:10:30 +01:00
Fix bStats error when starting in dev.
Dieser Commit ist enthalten in:
Ursprung
9643159826
Commit
404936a53f
@ -52,6 +52,11 @@ public class Metrics {
|
||||
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(
|
||||
"server-implementation",
|
||||
config.getServerUUID(),
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren