mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-04 06:28:53 +00:00
Improve hook handlers
This commit is contained in:
1 parent
02feb2592d
commit
6f1b719e44
8 files changed
+74
-7
No files matched your search
@@ -62,11 +62,11 @@ public class ChatComponentEvent extends Event implements Cancellable {
|
||||
return user;
|
||||
}
|
||||
|
||||
public ChatChannel getChatChannel() {
|
||||
public ChatChannel getChannel() {
|
||||
return chatChannel;
|
||||
}
|
||||
|
||||
public void setChatChannel(ChatChannel chatChannel) {
|
||||
public void setChannel(ChatChannel chatChannel) {
|
||||
this.chatChannel = chatChannel;
|
||||
}
|
||||
|
||||
|
||||
@@ -51,11 +51,11 @@ public class ChatFormatEvent extends Event implements Cancellable {
|
||||
return user;
|
||||
}
|
||||
|
||||
public ChatChannel getChatChannel() {
|
||||
public ChatChannel getChannel() {
|
||||
return chatChannel;
|
||||
}
|
||||
|
||||
public void setChatChannel(ChatChannel chatChannel) {
|
||||
public void setChannel(ChatChannel chatChannel) {
|
||||
this.chatChannel = chatChannel;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user