mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-03 00:25:04 +00:00
Merge 'minor-next' into 'major-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/17336647491
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user