diff --git a/src/pocketmine/Player.php b/src/pocketmine/Player.php index 5910c3f2e..b20da0b71 100644 --- a/src/pocketmine/Player.php +++ b/src/pocketmine/Player.php @@ -2976,17 +2976,6 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{ return true; } - /** - * Called when a packet is received from the client. This method will call DataPacketReceiveEvent. - * - * @param DataPacket $packet - */ - public function handleDataPacket(DataPacket $packet){ - if($this->networkSession !== null){ - $this->networkSession->handleDataPacket($packet); - } - } - /** * @param DataPacket $packet * @param bool $needACK