From e90cdc36393d8783e107d5694c4406594ff857eb Mon Sep 17 00:00:00 2001 From: Aikar <aikar@aikar.co> Date: Mon, 28 Mar 2016 21:41:17 -0400 Subject: [PATCH] Remove some code from Timings v2 that was only for EMC. --- Spigot-API-Patches/0002-Timings-v2.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Spigot-API-Patches/0002-Timings-v2.patch b/Spigot-API-Patches/0002-Timings-v2.patch index 123b287b1f..949960d9c4 100644 --- a/Spigot-API-Patches/0002-Timings-v2.patch +++ b/Spigot-API-Patches/0002-Timings-v2.patch @@ -1,4 +1,4 @@ -From ffc094f33f81e73c7067ef740dc22183e4553369 Mon Sep 17 00:00:00 2001 +From e3d0784acb044ea7d704eae393c66e586edd6dcc Mon Sep 17 00:00:00 2001 From: Aikar <aikar@aikar.co> Date: Mon, 29 Feb 2016 18:48:17 -0600 Subject: [PATCH] Timings v2 @@ -181,7 +181,7 @@ index 0000000..c73b617 +} diff --git a/src/main/java/co/aikar/timings/TimedEventExecutor.java b/src/main/java/co/aikar/timings/TimedEventExecutor.java new file mode 100644 -index 0000000..e3da034 +index 0000000..96057fc --- /dev/null +++ b/src/main/java/co/aikar/timings/TimedEventExecutor.java @@ -0,0 +1,81 @@ @@ -250,7 +250,7 @@ index 0000000..e3da034 + + + 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); + }