1
0
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:
Cp1987 2021-05-18 17:31:11 +02:00
commit ca25cc0470

View File

@ -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();
} }