inv wont be sent on successful crafting now

This commit is contained in:
GameHerobrine 2025-05-30 09:27:24 +03:00
parent 2838640649
commit b272c1ec6a
2 changed files with 13 additions and 13 deletions

View file

@ -489,7 +489,7 @@ class BlockAPI{
$player->level->fastSetBlockUpdate($block->x, $block->y, $block->z, 0, 0, true, false);
return false;
}else{
return $this->cancelAction($block, $player);
return $this->cancelAction($block, $player, false);
}
if(!($block->isReplaceable === true or ($hand->getID() === SLAB and $block->getID() === SLAB))){