mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-15 14:13:56 +01:00
Aikar is backwards, AND likes Java 7
By: md_5 <md_5@live.com.au>
This commit is contained in:
parent
942a08c36a
commit
c6ad30f334
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
From 1b7af1803b6c1fdcc7f0d8574f37000bbe10923f Mon Sep 17 00:00:00 2001
|
||||
From d86adddc5c61aca7992407141354dcbadebf4723 Mon Sep 17 00:00:00 2001
|
||||
From: Aikar <aikar@aikar.co>
|
||||
Date: Wed, 9 Jan 2013 22:18:26 -0500
|
||||
Subject: [PATCH] Add CustomTimingsHandler for adding new CraftBukkit custom
|
||||
|
@ -64,7 +64,7 @@ index 94cd62c..e0628d0 100644
|
|||
} finally {
|
||||
diff --git a/src/main/java/org/bukkit/event/CustomTimingsHandler.java b/src/main/java/org/bukkit/event/CustomTimingsHandler.java
|
||||
new file mode 100644
|
||||
index 0000000..83294e3
|
||||
index 0000000..ff56673
|
||||
--- /dev/null
|
||||
+++ b/src/main/java/org/bukkit/event/CustomTimingsHandler.java
|
||||
@@ -0,0 +1,60 @@
|
||||
|
@ -86,7 +86,7 @@ index 0000000..83294e3
|
|||
+ public long totalTime = 0;
|
||||
+ long start = 0;
|
||||
+
|
||||
+ static public ArrayList<CustomTimingsHandler> allList = new ArrayList<>();
|
||||
+ public static ArrayList<CustomTimingsHandler> allList = new ArrayList<CustomTimingsHandler>();
|
||||
+ public CustomTimingsHandler(String name) {
|
||||
+ this.name = name;
|
||||
+ allList.add(this);
|
||||
|
|
Loading…
Reference in a new issue