mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
rename SessionHandler -> PacketHandler
This commit is contained in:
@ -28,7 +28,7 @@ namespace pocketmine\network\mcpe\protocol;
|
||||
|
||||
use Particle\Validator\Validator;
|
||||
use pocketmine\network\BadPacketException;
|
||||
use pocketmine\network\mcpe\handler\SessionHandler;
|
||||
use pocketmine\network\mcpe\handler\PacketHandler;
|
||||
use pocketmine\utils\BinaryDataException;
|
||||
use pocketmine\utils\BinaryStream;
|
||||
use pocketmine\utils\Utils;
|
||||
@ -178,7 +178,7 @@ class LoginPacket extends DataPacket implements ServerboundPacket{
|
||||
//TODO
|
||||
}
|
||||
|
||||
public function handle(SessionHandler $handler) : bool{
|
||||
public function handle(PacketHandler $handler) : bool{
|
||||
return $handler->handleLogin($this);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user