Player: remove useless handleDataPacket() leftover

This commit is contained in:
Dylan K. Taylor 2018-07-20 12:41:16 +01:00
parent 57a86d9ed7
commit aae19d45b7

View File

@ -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