mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-16 19:59:11 +00:00
Added time command
This commit is contained in:
@@ -53,6 +53,7 @@ use pocketmine\command\defaults\TellCommand;
|
||||
use pocketmine\command\defaults\VanillaCommand;
|
||||
use pocketmine\command\defaults\VersionCommand;
|
||||
use pocketmine\command\defaults\WhitelistCommand;
|
||||
use pocketmine\command\defaults\TimeCommand;
|
||||
use pocketmine\Server;
|
||||
|
||||
class SimpleCommandMap implements CommandMap{
|
||||
@@ -101,6 +102,7 @@ class SimpleCommandMap implements CommandMap{
|
||||
$this->register("pocketmine", new SetWorldSpawnCommand("setworldspawn"));
|
||||
$this->register("pocketmine", new TeleportCommand("tp"));
|
||||
$this->register("pocketmine", new ReloadCommand("reload"));
|
||||
$this->register("pocketmine", new TimeCommand("time"));
|
||||
|
||||
if($this->server->getConfigBoolean("debug.commands", false) === true){
|
||||
$this->register("pocketmine", new StatusCommand("status"));
|
||||
|
Reference in New Issue
Block a user