mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-16 06:30:46 +01:00
Show Plugins Event Listeners under Combined Total in Timings
This commit is contained in:
parent
edc73f0d2b
commit
3028a91f26
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue