mirror of
https://github.com/Minestom/Minestom.git
synced 2025-02-01 21:11:33 +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) {
|
||||
this.cache = CacheBuilder.newBuilder()
|
||||
.expireAfterWrite(duration, timeUnit)
|
||||
.softValues()
|
||||
.removalListener(removalListener)
|
||||
.build();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user