mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 22:15:08 +00:00
Cleanup chat listeners and deduplicate shared code (#260)
This commit is contained in:
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.
|
||||
|
||||
Reference in new issue
Block a user