From c45c1c930ef5892a99b990c8f65e599823b153be Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Mon, 17 Jun 2019 14:22:08 +0100 Subject: [PATCH] SetEntityMotionPacket: Mark as garbage serverbound --- .../network/mcpe/protocol/SetEntityMotionPacket.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/pocketmine/network/mcpe/protocol/SetEntityMotionPacket.php b/src/pocketmine/network/mcpe/protocol/SetEntityMotionPacket.php index 7f4a863c6..451483893 100644 --- a/src/pocketmine/network/mcpe/protocol/SetEntityMotionPacket.php +++ b/src/pocketmine/network/mcpe/protocol/SetEntityMotionPacket.php @@ -29,7 +29,10 @@ namespace pocketmine\network\mcpe\protocol; use pocketmine\math\Vector3; use pocketmine\network\mcpe\handler\SessionHandler; -class SetEntityMotionPacket extends DataPacket implements ClientboundPacket{ +/** + * TODO: This packet is (erroneously) sent to the server when the client is riding a vehicle. + */ +class SetEntityMotionPacket extends DataPacket implements ClientboundPacket, GarbageServerboundPacket{ public const NETWORK_ID = ProtocolInfo::SET_ENTITY_MOTION_PACKET; /** @var int */