rename SessionHandler -> PacketHandler

This commit is contained in:
Dylan K. Taylor
2019-06-18 16:02:46 +01:00
parent 87c3636d44
commit b18bd4f33c
136 changed files with 284 additions and 284 deletions

View File

@ -27,7 +27,7 @@ namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use pocketmine\network\mcpe\handler\SessionHandler;
use pocketmine\network\mcpe\handler\PacketHandler;
class BlockPickRequestPacket extends DataPacket implements ServerboundPacket{
public const NETWORK_ID = ProtocolInfo::BLOCK_PICK_REQUEST_PACKET;
@ -55,7 +55,7 @@ class BlockPickRequestPacket extends DataPacket implements ServerboundPacket{
$this->putByte($this->hotbarSlot);
}
public function handle(SessionHandler $handler) : bool{
public function handle(PacketHandler $handler) : bool{
return $handler->handleBlockPickRequest($this);
}
}