mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-01 07:43:03 +00:00
Merge 'stable' into 'minor-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/17336647491
This commit is contained in:
commit
9310c46ea1
@ -719,6 +719,7 @@ class InGamePacketHandler extends PacketHandler{
|
|||||||
case PlayerAction::CREATIVE_PLAYER_DESTROY_BLOCK:
|
case PlayerAction::CREATIVE_PLAYER_DESTROY_BLOCK:
|
||||||
//TODO: do we need to handle this?
|
//TODO: do we need to handle this?
|
||||||
case PlayerAction::PREDICT_DESTROY_BLOCK:
|
case PlayerAction::PREDICT_DESTROY_BLOCK:
|
||||||
|
self::validateFacing($face);
|
||||||
if(!$this->player->breakBlock($pos)){
|
if(!$this->player->breakBlock($pos)){
|
||||||
$this->syncBlocksNearby($pos, $face);
|
$this->syncBlocksNearby($pos, $face);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user