better bed head block detection, fixed bonemeal not decrementing from slot when used, fixed players seeing teleport to -256,128,-256 when dying

This commit is contained in:
GameHerobrine 2026-01-06 08:58:35 +03:00
parent 2f6e2ffcab
commit 6af453dcc3
12 changed files with 15 additions and 24 deletions

View file

@ -35,7 +35,7 @@ class PotatoBlock extends FlowableBlock{
$this->meta = 7;
}
$this->level->setBlock($this, $this, true, false, true);
$player->consumeSingleItem();
$player->consumeSingleItem(send:true);
return true;
}
return false;