diff options
Diffstat (limited to 'nms-patches/ExpirableListEntry.patch')
-rw-r--r-- | nms-patches/ExpirableListEntry.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/nms-patches/ExpirableListEntry.patch b/nms-patches/ExpirableListEntry.patch index 48f6bbb7..5ca3474a 100644 --- a/nms-patches/ExpirableListEntry.patch +++ b/nms-patches/ExpirableListEntry.patch @@ -1,11 +1,11 @@ ---- ../work/decompile-8eb82bde//net/minecraft/server/ExpirableListEntry.java 2014-11-28 17:43:43.189707433 +0000 -+++ src/main/java/net/minecraft/server/ExpirableListEntry.java 2014-11-28 17:38:21.000000000 +0000 +--- /home/matt/mc-dev-private//net/minecraft/server/ExpirableListEntry.java 2015-02-26 22:40:22.743608138 +0000 ++++ src/main/java/net/minecraft/server/ExpirableListEntry.java 2015-02-26 22:40:22.743608138 +0000 @@ -22,7 +22,7 @@ } - protected ExpirableListEntry(Object object, JsonObject jsonobject) { -- super(object, jsonobject); -+ super(checkExpiry(object, jsonobject), jsonobject); + protected ExpirableListEntry(T t0, JsonObject jsonobject) { +- super(t0, jsonobject); ++ super(checkExpiry(t0, jsonobject), jsonobject); Date date; @@ -23,7 +23,7 @@ + return this.b; + } + -+ private static Object checkExpiry(Object object, JsonObject jsonobject) { ++ private static <T> T checkExpiry(T object, JsonObject jsonobject) { + Date expires = null; + + try { |