mirror of
https://github.com/PaperMC/Paper.git
synced 2025-07-26 09:42:06 -07:00
Show Plugins Event Listeners under Combined Total in Timings
This commit is contained in:
@@ -243,8 +243,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+
|
||||
+ final String eventName = eventClass.getSimpleName();
|
||||
+ boolean verbose = "BlockPhysicsEvent".equals(eventName);
|
||||
+ this.timings = Timings.ofSafe(plugin.getName(), (verbose ? "## " : "") +
|
||||
+ "Event: " + id + " (" + eventName + ")", null);
|
||||
+ this.timings = Timings.ofSafe(plugin, (verbose ? "## " : "") +
|
||||
+ "Event: " + id + " (" + eventName + ")");
|
||||
+ }
|
||||
+
|
||||
+ @Override
|
||||
|
Reference in New Issue
Block a user