2021-05-13 12:11:59 +00:00
|
|
|
package com.alttd.chat.api;
|
2021-05-02 17:40:27 +00:00
|
|
|
|
|
|
|
|
import com.velocitypowered.api.command.CommandSource;
|
|
|
|
|
|
2021-05-12 08:43:30 +00:00
|
|
|
public class GlobalAdminChatEvent {
|
2021-05-02 17:40:27 +00:00
|
|
|
private final CommandSource sender;
|
|
|
|
|
private final String message;
|
|
|
|
|
|
2021-05-12 08:43:30 +00:00
|
|
|
public GlobalAdminChatEvent(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;
|
|
|
|
|
}
|
|
|
|
|
}
|