Merge 'minor-next' into 'major-next'

Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/17336647491
This commit is contained in:
pmmp-admin-bot[bot]
2025-08-30 00:02:48 +00:00

View File

@ -721,6 +721,7 @@ class InGamePacketHandler extends PacketHandler{
case PlayerAction::CREATIVE_PLAYER_DESTROY_BLOCK:
//TODO: do we need to handle this?
case PlayerAction::PREDICT_DESTROY_BLOCK:
self::validateFacing($face);
if(!$this->player->breakBlock($pos)){
$face = self::deserializeFacing($extraData);
$this->syncBlocksNearby($pos, $face);