mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 19:02:59 +00:00
Exploded Player->handleDataPacket() into 70+ methods
This commit is contained in:
@ -23,6 +23,8 @@ namespace pocketmine\network\protocol;
|
||||
|
||||
#include <rules/DataPacket.h>
|
||||
|
||||
use pocketmine\network\PocketEditionNetworkSession;
|
||||
|
||||
class ItemFrameDropItemPacket extends DataPacket{
|
||||
|
||||
const NETWORK_ID = Info::ITEM_FRAME_DROP_ITEM_PACKET;
|
||||
@ -39,4 +41,8 @@ class ItemFrameDropItemPacket extends DataPacket{
|
||||
|
||||
}
|
||||
|
||||
public function handle(PocketEditionNetworkSession $session) : bool{
|
||||
return $session->handleItemFrameDropItem($this);
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user