mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-27 21:59:52 +00:00
TODO: REVERT - Added a hack for InteractPacket spam issue
This commit is contained in:
parent
bf3868c078
commit
e96fa8b682
@ -3406,6 +3406,11 @@ class Player extends Human implements CommandSender, InventoryHolder, ChunkLoade
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//TODO: Remove this hack once InteractPacket spam issue is fixed
|
||||||
|
if($packet->buffer === "\x21\x04\x00"){
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
$timings = Timings::getReceiveDataPacketTimings($packet);
|
$timings = Timings::getReceiveDataPacketTimings($packet);
|
||||||
$timings->startTiming();
|
$timings->startTiming();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user