mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-07 16:12:02 +01:00
Show Plugins Event Listeners under Combined Total in Timings
This commit is contained in:
parent
edc73f0d2b
commit
3028a91f26
@ -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 New Issue
Block a user