From 0348d181d4dfea065a430778b0f748575d8bf4fd Mon Sep 17 00:00:00 2001 From: PEMapModder Date: Sat, 29 Aug 2015 18:03:40 +0800 Subject: [PATCH] Remove unused parameter in Level::requestChunk --- src/pocketmine/level/Level.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pocketmine/level/Level.php b/src/pocketmine/level/Level.php index f1881148e..177435ffe 100644 --- a/src/pocketmine/level/Level.php +++ b/src/pocketmine/level/Level.php @@ -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] = [];