mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-16 19:59:11 +00:00
Added Spawn protection, including item usage, added /whitelist
This commit is contained in:
@@ -41,6 +41,7 @@ use pocketmine\command\defaults\StopCommand;
|
||||
use pocketmine\command\defaults\TellCommand;
|
||||
use pocketmine\command\defaults\VanillaCommand;
|
||||
use pocketmine\command\defaults\VersionCommand;
|
||||
use pocketmine\command\defaults\WhitelistCommand;
|
||||
use pocketmine\Server;
|
||||
|
||||
class SimpleCommandMap implements CommandMap{
|
||||
@@ -78,6 +79,7 @@ class SimpleCommandMap implements CommandMap{
|
||||
$this->register("pocketmine", new KickCommand("kick"));
|
||||
$this->register("pocketmine", new OpCommand("op"));
|
||||
$this->register("pocketmine", new DeopCommand("deop"));
|
||||
$this->register("pocketmine", new WhitelistCommand("whitelist"));
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user