s/facePos/clickVector/

clickVector better describes this
This commit is contained in:
Dylan K. Taylor
2017-10-27 19:05:26 +01:00
parent c55bc2d7e9
commit d1db27016e
51 changed files with 64 additions and 64 deletions

View File

@ -32,7 +32,7 @@ use pocketmine\Server;
abstract class Crops extends Flowable{
public function place(Item $item, Block $blockReplace, Block $blockClicked, int $face, Vector3 $facePos, Player $player = null) : bool{
public function place(Item $item, Block $blockReplace, Block $blockClicked, int $face, Vector3 $clickVector, Player $player = null) : bool{
if($blockReplace->getSide(Vector3::SIDE_DOWN)->getId() === Block::FARMLAND){
$this->getLevel()->setBlock($blockReplace, $this, true, true);