mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-24 06:06:45 +01:00
16 lines
455 B
Java
16 lines
455 B
Java
package com.gmail.nossr50.commands.chat;
|
|
|
|
import com.gmail.nossr50.datatypes.chat.ChatMode;
|
|
import org.bukkit.command.CommandSender;
|
|
|
|
public class AdminChatCommand extends ChatCommand {
|
|
public AdminChatCommand() {
|
|
super(ChatMode.ADMIN);
|
|
}
|
|
|
|
@Override
|
|
protected void handleChatSending(CommandSender sender, String[] args) {
|
|
chatManager.handleChat(sender.getName(), getDisplayName(sender), buildChatMessage(args, 0));
|
|
}
|
|
}
|