mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
rename SessionHandler -> PacketHandler
This commit is contained in:
@ -25,7 +25,7 @@ namespace pocketmine\network\mcpe\protocol;
|
||||
|
||||
#include <rules/DataPacket.h>
|
||||
|
||||
use pocketmine\network\mcpe\handler\SessionHandler;
|
||||
use pocketmine\network\mcpe\handler\PacketHandler;
|
||||
|
||||
class NpcRequestPacket extends DataPacket implements ServerboundPacket{
|
||||
public const NETWORK_ID = ProtocolInfo::NPC_REQUEST_PACKET;
|
||||
@ -53,7 +53,7 @@ class NpcRequestPacket extends DataPacket implements ServerboundPacket{
|
||||
$this->putByte($this->actionType);
|
||||
}
|
||||
|
||||
public function handle(SessionHandler $handler) : bool{
|
||||
public function handle(PacketHandler $handler) : bool{
|
||||
return $handler->handleNpcRequest($this);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user