mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +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(){
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
public function getGamemode(){
|
||||
switch($this->gamemode){
|
||||
case SURVIVAL:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue