mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-16 03:51:37 +00:00
...
This commit is contained in:
@@ -59,7 +59,6 @@ use pocketmine\network\mcpe\protocol\ChunkRadiusUpdatedPacket;
|
||||
use pocketmine\network\mcpe\protocol\ClientboundCloseFormPacket;
|
||||
use pocketmine\network\mcpe\protocol\ClientboundPacket;
|
||||
use pocketmine\network\mcpe\protocol\DisconnectPacket;
|
||||
use pocketmine\network\mcpe\protocol\InventoryTransactionPacket;
|
||||
use pocketmine\network\mcpe\protocol\ModalFormRequestPacket;
|
||||
use pocketmine\network\mcpe\protocol\MovePlayerPacket;
|
||||
use pocketmine\network\mcpe\protocol\NetworkChunkPublisherUpdatePacket;
|
||||
@@ -467,6 +466,7 @@ class NetworkSession{
|
||||
|
||||
/**
|
||||
* @throws PacketHandlingException
|
||||
* @throws FilterNoisyPacketException
|
||||
*/
|
||||
public function handleDataPacket(Packet $packet, string $buffer) : void{
|
||||
if(!($packet instanceof ServerboundPacket)){
|
||||
|
Reference in New Issue
Block a user