diff --git a/spigot/src/main/java/ru/brikster/chatty/adventure/NativeAudienceAdapter.java b/spigot/src/main/java/ru/brikster/chatty/adventure/NativeAudienceAdapter.java index 4a3bd23..ebbe2b0 100644 --- a/spigot/src/main/java/ru/brikster/chatty/adventure/NativeAudienceAdapter.java +++ b/spigot/src/main/java/ru/brikster/chatty/adventure/NativeAudienceAdapter.java @@ -27,6 +27,7 @@ public final class NativeAudienceAdapter implements Audience { CacheBuilder.newBuilder() .weakKeys() .expireAfterAccess(Duration.ofMinutes(5)) + .maximumSize(1024) .build(); private static final String NET_KYORI_ADVENTURE = "net.".concat("kyori.adventure.");