1
0
mirror of https://github.com/pmmp/PocketMine-MP.git synced 2025-07-11 04:17:48 +00:00

TODO: REVERT - Added a hack for InteractPacket spam issue

This commit is contained in:
Dylan K. Taylor 2017-06-12 19:50:31 +01:00
parent bf3868c078
commit e96fa8b682

@ -3406,6 +3406,11 @@ class Player extends Human implements CommandSender, InventoryHolder, ChunkLoade
return;
}
//TODO: Remove this hack once InteractPacket spam issue is fixed
if($packet->buffer === "\x21\x04\x00"){
return;
}
$timings = Timings::getReceiveDataPacketTimings($packet);
$timings->startTiming();