mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-16 02:38:54 +00:00
Added debug for view distance setting
This commit is contained in:
parent
6259f42d81
commit
82fd0e8d47
@ -521,6 +521,8 @@ class Player extends Human implements CommandSender, InventoryHolder, ChunkLoade
|
|||||||
$pk = new ChunkRadiusUpdatedPacket();
|
$pk = new ChunkRadiusUpdatedPacket();
|
||||||
$pk->radius = $this->viewDistance;
|
$pk->radius = $this->viewDistance;
|
||||||
$this->dataPacket($pk);
|
$this->dataPacket($pk);
|
||||||
|
|
||||||
|
$this->server->getLogger()->debug("Setting view distance for " . $this->getName() . " to " . $this->viewDistance . " (requested " . $distance . ")");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user