mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-03 16:45:13 +00:00
break the hard cycle between mcpe\handler and mcpe\protocol
preparing to move mcpe\protocol to a separate library
This commit is contained in:
@ -23,7 +23,6 @@ declare(strict_types=1);
|
||||
|
||||
namespace pocketmine\network\mcpe\protocol;
|
||||
|
||||
use pocketmine\network\mcpe\handler\PacketHandler;
|
||||
use pocketmine\network\mcpe\serializer\NetworkBinaryStream;
|
||||
|
||||
class TestPacket extends DataPacket{
|
||||
@ -37,7 +36,7 @@ class TestPacket extends DataPacket{
|
||||
|
||||
}
|
||||
|
||||
public function handle(PacketHandler $handler) : bool{
|
||||
public function handle(PacketHandlerInterface $handler) : bool{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user