mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-05 09:26:06 +00:00
rename SessionHandler -> PacketHandler
This commit is contained in:
@ -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 ResourcePackDataInfoPacket extends DataPacket implements ClientboundPacket{
|
||||
public const NETWORK_ID = ProtocolInfo::RESOURCE_PACK_DATA_INFO_PACKET;
|
||||
@ -69,7 +69,7 @@ class ResourcePackDataInfoPacket extends DataPacket implements ClientboundPacket
|
||||
$this->putString($this->sha256);
|
||||
}
|
||||
|
||||
public function handle(SessionHandler $handler) : bool{
|
||||
public function handle(PacketHandler $handler) : bool{
|
||||
return $handler->handleResourcePackDataInfo($this);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user