Introduce ConsoleCommandSource. See #155
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package com.velocitypowered.api.proxy;
|
||||
|
||||
import com.velocitypowered.api.command.CommandSource;
|
||||
|
||||
/**
|
||||
* Indicates that the executor of the command is the console.
|
||||
*/
|
||||
public interface ConsoleCommandSource extends CommandSource {
|
||||
}
|
@@ -99,7 +99,7 @@ public interface ProxyServer {
|
||||
*
|
||||
* @return the console command invoker
|
||||
*/
|
||||
CommandSource getConsoleCommandSource();
|
||||
ConsoleCommandSource getConsoleCommandSource();
|
||||
|
||||
/**
|
||||
* Gets the {@link PluginManager} instance.
|
||||
|
Reference in New Issue
Block a user