mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 07:20:24 +01:00
Dont reassign the hiddenConfigs field in TimingsManager (#7951)
This commit is contained in:
parent
8d1748a6f9
commit
dbb094a30e
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
+ if (!config.hiddenConfigEntries.contains("proxies.velocity.secret")) {
|
||||
+ config.hiddenConfigEntries.add("proxies.velocity.secret");
|
||||
+ }
|
||||
+ TimingsManager.hiddenConfigs = config.hiddenConfigEntries;
|
||||
+ TimingsManager.hiddenConfigs.addAll(config.hiddenConfigEntries);
|
||||
+ co.aikar.timings.Timings.setVerboseTimingsEnabled(config.verbose);
|
||||
+ co.aikar.timings.Timings.setTimingsEnabled(config.enabled);
|
||||
+ co.aikar.timings.Timings.setHistoryInterval(config.historyInterval * 20);
|
||||
|
|
Loading…
Reference in a new issue