Cleanup chat listeners and deduplicate shared code (#260)

This commit is contained in:
Josua Parks authored and GitHub committed 2023-07-04 20:59:13 -07:00
1 parent b8f1fa2d10
commit fc1b597f03
11 files changed
+227 -209

No files matched your search

@@ -179,7 +179,7 @@ public interface CarbonPlayer extends Audience, Identified {
* @param channel The channel the message should be sent to
* @since 2.1.0
*/
record ChannelMessage(Component message, @Nullable ChatChannel channel) {}
record ChannelMessage(Component message, ChatChannel channel) {}
/**
* Checks if the player has the specified permission.