mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
remove useless parameters
This commit is contained in:
parent
1fd52e82a5
commit
6fb46ccfae
5 changed files with 5 additions and 5 deletions
|
|
@ -161,7 +161,7 @@ class BanAPI{
|
|||
$player = $this->server->api->player->get($user);
|
||||
if(!($player instanceof Player)){
|
||||
$this->ops->set($user);
|
||||
$this->ops->save($user);
|
||||
$this->ops->save();
|
||||
$output .= $user . " is now op\n";
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -150,7 +150,7 @@ class EntityAPI{
|
|||
"y" => $pos->y,
|
||||
"z" => $pos->z
|
||||
] + $data);
|
||||
$this->spawnToAll($entity, $pos->level);
|
||||
$this->spawnToAll($entity);
|
||||
}
|
||||
|
||||
public function getNextEID(){
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue