mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
ops/console/rcon can view coords and ping of other players now
This commit is contained in:
parent
a485d7506b
commit
38ced36e16
2 changed files with 45 additions and 10 deletions
|
|
@ -56,7 +56,7 @@ class Player{
|
|||
private $ip;
|
||||
private $port;
|
||||
private $counter = [0, 0, 0, 0];
|
||||
private $username;
|
||||
public $username;
|
||||
public $iusername;
|
||||
private $eid = false;
|
||||
private $startAction = false;
|
||||
|
|
@ -1132,6 +1132,7 @@ class Player{
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
public function makeInvisibleForOnePlayer(Player $player){
|
||||
$pk = new RemoveEntityPacket;
|
||||
$pk->eid = $this->entity->eid;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue