mirror of
https://github.com/Minestom/Minestom.git
synced 2025-03-02 11:21:15 +01:00
Merge branch 'Minestom:master' into chunk-block-count
This commit is contained in:
commit
ca25cc0470
@ -26,7 +26,6 @@ public class TemporaryCache<T> {
|
|||||||
public TemporaryCache(long duration, TimeUnit timeUnit, RemovalListener<UUID, T> removalListener) {
|
public TemporaryCache(long duration, TimeUnit timeUnit, RemovalListener<UUID, T> removalListener) {
|
||||||
this.cache = CacheBuilder.newBuilder()
|
this.cache = CacheBuilder.newBuilder()
|
||||||
.expireAfterWrite(duration, timeUnit)
|
.expireAfterWrite(duration, timeUnit)
|
||||||
.softValues()
|
|
||||||
.removalListener(removalListener)
|
.removalListener(removalListener)
|
||||||
.build();
|
.build();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user