mirror of
https://github.com/PaperMC/Paper.git
synced 2025-07-31 04:02:06 -07:00
Add config option to specify timings url (#6256)
This commit is contained in:
@@ -1722,7 +1722,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+import org.bukkit.plugin.java.PluginClassLoader;
|
||||
+
|
||||
+import java.util.ArrayList;
|
||||
+import java.util.Collections;
|
||||
+import java.util.List;
|
||||
+import java.util.Map;
|
||||
+import java.util.concurrent.ConcurrentHashMap;
|
||||
@@ -1737,6 +1736,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ public static final FullServerTickHandler FULL_SERVER_TICK = new FullServerTickHandler();
|
||||
+ public static final TimingHandler TIMINGS_TICK = Timings.ofSafe("Timings Tick", FULL_SERVER_TICK);
|
||||
+ public static final Timing PLUGIN_GROUP_HANDLER = Timings.ofSafe("Plugins");
|
||||
+ public static String url = "https://timings.aikar.co/";
|
||||
+ public static List<String> hiddenConfigs = new ArrayList<String>();
|
||||
+ public static boolean privacy = false;
|
||||
+
|
||||
|
Reference in New Issue
Block a user