mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 20:19:44 +00:00
Another fix
This commit is contained in:
parent
3023df2033
commit
8e127e60a0
4 changed files with 11 additions and 7 deletions
|
|
@ -33,7 +33,7 @@ class DirtBlock extends SolidBlock{
|
|||
|
||||
public function onActivate(Item $item, Player $player){
|
||||
if($item->isHoe()){
|
||||
$item->meta++;
|
||||
$item->useOn($this);
|
||||
$this->level->setBlock($this, BlockAPI::get(FARMLAND, 0));
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue