remove useless parameters

This commit is contained in:
Sunch 2025-01-11 21:48:33 +08:00
parent 1fd52e82a5
commit 6fb46ccfae
5 changed files with 5 additions and 5 deletions

View file

@ -12,7 +12,7 @@ class PlayerAPI{
$this->server->addHandler("player.death", [$this, "handle"], 1);
$this->registerCmd("list");
$this->registerCmd("kill", "<player>");
$this->registerCmd("gamemode", "<mode> [player]", [$this, "commandHandler"]);
$this->registerCmd("gamemode", "<mode> [player]");
$this->registerCmd("tp", "[target player] <destination player|w:world> OR /tp [target player] <x> <y> <z>");
$this->registerCmd("spawnpoint", "[player] [x] [y] [z]");
$this->registerCmd("spawn");