mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-16 11:58:00 +00:00
InGamePacketHandler: ignore CREATIVE_PLAYER_DESTROY_BLOCK
fixes #6757 we get PREDICT_DESTROY_BLOCK anyway, so it's not needed
This commit is contained in:
@@ -717,7 +717,8 @@ class InGamePacketHandler extends PacketHandler{
|
||||
case PlayerAction::INTERACT_BLOCK: //TODO: ignored (for now)
|
||||
break;
|
||||
case PlayerAction::CREATIVE_PLAYER_DESTROY_BLOCK:
|
||||
//TODO: do we need to handle this?
|
||||
//in server auth block breaking, we get PREDICT_DESTROY_BLOCK anyway, so this action is redundant
|
||||
break;
|
||||
case PlayerAction::PREDICT_DESTROY_BLOCK:
|
||||
self::validateFacing($face);
|
||||
if(!$this->player->breakBlock($pos)){
|
||||
|
Reference in New Issue
Block a user