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) {
this.cache = CacheBuilder.newBuilder()
.expireAfterWrite(duration, timeUnit)
.softValues()
.removalListener(removalListener)
.build();
}