mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-20 15:41:33 +00:00
Moved console-specific stuff to its own namespace
this stuff has different functionality than everything else in the command namespace (specifically console handling), so it doesn't belong in here. I know that this will probably break some plugins, but I don't care, because plugins shouldn't have been abusing ConsoleCommandSender in the first place.
This commit is contained in:
@@ -24,8 +24,8 @@ declare(strict_types=1);
|
||||
namespace pocketmine\command\defaults;
|
||||
|
||||
use pocketmine\command\CommandSender;
|
||||
use pocketmine\command\ConsoleCommandSender;
|
||||
use pocketmine\command\utils\InvalidCommandSyntaxException;
|
||||
use pocketmine\console\ConsoleCommandSender;
|
||||
use pocketmine\lang\TranslationContainer;
|
||||
use pocketmine\permission\DefaultPermissionNames;
|
||||
use pocketmine\player\Player;
|
||||
|
Reference in New Issue
Block a user