mirror of
https://github.com/PaperMC/Velocity.git
synced 2026-02-17 06:27:42 +01:00
Merge pull request #505 from Cybermaxke/fix-bstats-error
Fix bStats error when starting in dev.
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user