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

View File

@ -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();