Mappings Update
By: md_5 <git@md-5.net>
This commit is contained in:
parent
8817bc22d9
commit
83baf22bde
80 changed files with 469 additions and 518 deletions
|
@ -12,7 +12,7 @@
|
|||
public class ExpiringMap<T> extends Long2ObjectOpenHashMap<T> {
|
||||
|
||||
@@ -21,11 +23,17 @@
|
||||
long j = SystemUtils.b();
|
||||
long j = SystemUtils.getMonotonicMillis();
|
||||
|
||||
this.b.put(i, j);
|
||||
- ObjectIterator objectiterator = this.b.long2LongEntrySet().iterator();
|
||||
|
@ -21,7 +21,7 @@
|
|||
+ }
|
||||
+
|
||||
+ public void cleanup() {
|
||||
+ long j = SystemUtils.b();
|
||||
+ long j = SystemUtils.getMonotonicMillis();
|
||||
+ ObjectIterator<Long2LongMap.Entry> objectiterator = this.b.long2LongEntrySet().iterator(); // CraftBukkit - decompile error
|
||||
|
||||
while (objectiterator.hasNext()) {
|
||||
|
@ -48,7 +48,7 @@
|
|||
+ // CraftBukkit start
|
||||
+ @Override
|
||||
+ public T computeIfAbsent(long l, LongFunction<? extends T> lf) {
|
||||
+ this.b.put(l, SystemUtils.b());
|
||||
+ this.b.put(l, SystemUtils.getMonotonicMillis());
|
||||
+ return super.computeIfAbsent(l, lf);
|
||||
+ }
|
||||
+
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue