fix: add key type to holder in carbonchannelregistry (#301)

This commit is contained in:
Triassic authored and GitHub committed 2023-10-03 14:49:14 -07:00
1 parent bbaa9403e7
commit d19693120c
1 file changed
+1 -1
@@ -420,7 +420,7 @@ public class CarbonChannelRegistry extends ChatListenerInternal implements Chann
@Override
public @Nullable ChatChannel channel(final Key key) {
final @Nullable Holder<ChatChannel> holder = this.channelRegistry.getHolder(key);
final @Nullable Holder<Key, ChatChannel> holder = this.channelRegistry.getHolder(key);
return holder == null ? null : holder.value();
}