mirror of https://github.com/Minestom/Minestom.git
Remove soft values
This commit is contained in:
parent
5ddda986a7
commit
cc97062dfa
|
@ -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