Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

Commit

Permalink
Merge pull request #3426 from PEMapModder/patch-7
Browse files Browse the repository at this point in the history
Remove unused parameter in Level::requestChunk
  • Loading branch information
msjyoo committed Aug 29, 2015
2 parents 91bda13 + 0348d18 commit 7d18b92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pocketmine/level/Level.php
Original file line number Diff line number Diff line change
Expand Up @@ -2251,7 +2251,7 @@ public function setSpawnLocation(Vector3 $pos){
$this->server->getPluginManager()->callEvent(new SpawnChangeEvent($this, $previousSpawn));
}

public function requestChunk($x, $z, Player $player, $order = LevelProvider::ORDER_ZXY){
public function requestChunk($x, $z, Player $player){
$index = Level::chunkHash($x, $z);
if(!isset($this->chunkSendQueue[$index])){
$this->chunkSendQueue[$index] = [];
Expand Down

0 comments on commit 7d18b92

Please sign in to comment.