1
0
Fork 0
mirror of https://github.com/PaperMC/Paper.git synced 2025-02-05 22:16:10 +01:00

Remove some code from Timings v2 that was only for EMC.

This commit is contained in:
Aikar 2016-03-28 21:41:17 -04:00
parent 2b55c92307
commit 7c38e54a9d

View file

@ -250,7 +250,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+
+
+ final String eventName = eventClass.getSimpleName();
+ boolean verbose = "BlockPhysicsEvent".equals(eventName) || "Drain".equals(eventName) || "Fill".equals(eventName);
+ boolean verbose = "BlockPhysicsEvent".equals(eventName);
+ this.timings = Timings.ofSafe(plugin.getName(), (verbose ? "## " : "") +
+ "Event: " + id + " (" + eventName + ")", null);
+ }