mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 08:44:01 +00:00
Player: remove useless return value from orderChunks()
This commit is contained in:
parent
245f5c6bef
commit
137a05c418
@ -1062,9 +1062,9 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{
|
||||
$this->dataPacket($pk);
|
||||
}
|
||||
|
||||
protected function orderChunks(){
|
||||
protected function orderChunks() : void{
|
||||
if(!$this->isConnected() or $this->viewDistance === -1){
|
||||
return false;
|
||||
return;
|
||||
}
|
||||
|
||||
Timings::$playerChunkOrderTimer->startTiming();
|
||||
@ -1149,8 +1149,6 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{
|
||||
$this->loadQueue = $newOrder;
|
||||
|
||||
Timings::$playerChunkOrderTimer->stopTiming();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user