2021-05-02 17:40:27 +00:00
|
|
|
package com.alttd.chat.api;
|
|
|
|
|
|
|
|
|
|
import com.velocitypowered.api.command.CommandSource;
|
|
|
|
|
|
2021-05-10 08:01:35 +00:00
|
|
|
public class GlobalStaffChatEvent {
|
2021-05-02 17:40:27 +00:00
|
|
|
private final CommandSource sender;
|
|
|
|
|
private final String message;
|
|
|
|
|
|
2021-05-10 08:01:35 +00:00
|
|
|
public GlobalStaffChatEvent(CommandSource sender, String message) {
|
2021-05-02 17:40:27 +00:00
|
|
|
this.sender = sender;
|
|
|
|
|
this.message = message;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public CommandSource getSender() {
|
|
|
|
|
return sender;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getMessage() {
|
|
|
|
|
return message;
|
|
|
|
|
}
|
|
|
|
|
}
|