mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-02 14:38:49 +00:00
fix: add key type to holder in carbonchannelregistry (#301)
This commit is contained in:
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();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user