Merge pull request #3426 from PEMapModder/patch-7

Remove unused parameter in Level::requestChunk
This commit is contained in:
Michael Yoo 2015-08-30 02:56:26 +09:30
commit 7d18b92ea1

View File

@ -2251,7 +2251,7 @@ class Level implements ChunkManager, Metadatable{
$this->server->getPluginManager()->callEvent(new SpawnChangeEvent($this, $previousSpawn)); $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); $index = Level::chunkHash($x, $z);
if(!isset($this->chunkSendQueue[$index])){ if(!isset($this->chunkSendQueue[$index])){
$this->chunkSendQueue[$index] = []; $this->chunkSendQueue[$index] = [];