mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-24 05:29:44 +00:00
Player: typo
This commit is contained in:
parent
cece622118
commit
22401a6378
1 changed files with 2 additions and 1 deletions
|
|
@ -1379,10 +1379,11 @@ class Player{
|
||||||
}
|
}
|
||||||
|
|
||||||
public function makeInvisibleForAllPlayers(){
|
public function makeInvisibleForAllPlayers(){
|
||||||
foreach($this->server->api->player->getA as $player){
|
foreach($this->server->api->player->getAll() as $player){
|
||||||
if($player->CID != $this->CID) $this->setInvisibleFor($player, true);
|
if($player->CID != $this->CID) $this->setInvisibleFor($player, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getGamemode(){
|
public function getGamemode(){
|
||||||
switch($this->gamemode){
|
switch($this->gamemode){
|
||||||
case SURVIVAL:
|
case SURVIVAL:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue