mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-02 14:38:49 +00:00
Fix being pinged constantly
This commit is contained in:
1 parent
9924d41c85
commit
5804644f22
3 files changed
+13
-6
No files matched your search
@@ -18,14 +18,16 @@ public class ChatComponentEvent extends Event implements Cancellable {
|
||||
private ChatUser user;
|
||||
private ChatChannel chatChannel;
|
||||
private TextComponent component;
|
||||
private String originalMessage;
|
||||
private List<ChatUser> recipients;
|
||||
|
||||
public ChatComponentEvent(ChatUser user, ChatChannel chatChannel, TextComponent component, List<ChatUser> recipients) {
|
||||
public ChatComponentEvent(ChatUser user, ChatChannel chatChannel, TextComponent component, String originalMessage, List<ChatUser> recipients) {
|
||||
super(true);
|
||||
|
||||
this.user = user;
|
||||
this.chatChannel = chatChannel;
|
||||
this.component = component;
|
||||
this.originalMessage = originalMessage;
|
||||
this.recipients = recipients;
|
||||
}
|
||||
|
||||
@@ -72,4 +74,8 @@ public class ChatComponentEvent extends Event implements Cancellable {
|
||||
public List<ChatUser> getRecipients() {
|
||||
return recipients;
|
||||
}
|
||||
|
||||
public String getOriginalMessage() {
|
||||
return originalMessage;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user