mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Updated blocks direct break
This commit is contained in:
parent
cf8e3e41ba
commit
19112f0d06
33 changed files with 97 additions and 92 deletions
|
|
@ -330,7 +330,7 @@ class BlockAPI{
|
|||
$hand = $item->getBlock();
|
||||
$hand->position($block);
|
||||
}elseif($block->getID() === FIRE){
|
||||
$player->level->setBlock($block, new AirBlock());
|
||||
$player->level->setBlock($block, new AirBlock(), true, false, true);
|
||||
return false;
|
||||
}else{
|
||||
return $this->cancelAction($block, $player, false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue