mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +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:
@ -25,7 +25,6 @@ namespace pocketmine\network\mcpe\protocol;
|
||||
|
||||
#include <rules/DataPacket.h>
|
||||
|
||||
use pocketmine\network\mcpe\handler\PacketHandler;
|
||||
use pocketmine\network\mcpe\serializer\NetworkBinaryStream;
|
||||
use pocketmine\utils\BinaryDataException;
|
||||
|
||||
@ -110,7 +109,7 @@ class MoveActorDeltaPacket extends DataPacket implements ClientboundPacket{
|
||||
$this->maybeWriteRotation(self::FLAG_HAS_ROT_Z, $this->zRot, $out);
|
||||
}
|
||||
|
||||
public function handle(PacketHandler $handler) : bool{
|
||||
public function handle(PacketHandlerInterface $handler) : bool{
|
||||
return $handler->handleMoveActorDelta($this);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user