s/Item/Block

This commit is contained in:
Dylan K. Taylor
2017-08-07 16:26:27 +01:00
parent 2d8395f70e
commit 06083d6dc4
20 changed files with 22 additions and 22 deletions

View File

@ -50,7 +50,7 @@ class Dirt extends Solid{
public function onActivate(Item $item, Player $player = null){
if($item->isHoe()){
$item->useOn($this);
$this->getLevel()->setBlock($this, Block::get(Item::FARMLAND, 0), true);
$this->getLevel()->setBlock($this, Block::get(Block::FARMLAND, 0), true);
return true;
}