Archiviert
13
0

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

Dieser Commit ist enthalten in:
Aikar 2016-03-28 21:41:17 -04:00
Ursprung b99e8381ab
Commit e90cdc3639

Datei anzeigen

@ -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);
+ }