move Commander
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* DmitriyMX <dimon550@gmail.com>
|
||||
* 2018-05-22
|
||||
*/
|
||||
package mc.commander;
|
||||
package mc.core.chat;
|
||||
|
||||
import mc.core.player.Player;
|
||||
|
||||
@@ -1,12 +1,10 @@
|
||||
/*
|
||||
* DmitriyMX <dimon550@gmail.com>
|
||||
* 2018-05-22
|
||||
* 2018-05-23
|
||||
*/
|
||||
package mc.commander;
|
||||
package mc.core.chat;
|
||||
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import mc.core.chat.ChatStyle;
|
||||
import mc.core.chat.SimpleChatProcessor;
|
||||
import mc.core.player.Player;
|
||||
import org.slf4j.Marker;
|
||||
import org.slf4j.helpers.BasicMarkerFactory;
|
||||
@@ -15,7 +13,7 @@ import java.util.Collections;
|
||||
import java.util.Map;
|
||||
|
||||
@Slf4j
|
||||
public class Commander extends SimpleChatProcessor {
|
||||
public class CommanderChatProcessor extends SimpleChatProcessor {
|
||||
private static final Marker COMMAND_MARKER = new BasicMarkerFactory().getMarker("Command");
|
||||
private static final String UNKNOW_COMMAND_MSG = ChatStyle.RED + "Unknown command \"" + ChatStyle.WHITE + "%s" + ChatStyle.RED + "\"";
|
||||
private Map<String, CommandExecutor> commands = Collections.emptyMap();
|
||||
Reference in New Issue
Block a user