mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 00:07:30 +00:00
Added ifndef for packets Binary
This commit is contained in:
parent
09a01be709
commit
9a65279c6a
@ -23,7 +23,9 @@ namespace pocketmine\network\protocol;
|
||||
|
||||
#include <rules/DataPacket.h>
|
||||
|
||||
#ifndef COMPILE
|
||||
use pocketmine\utils\Binary;
|
||||
#endif
|
||||
|
||||
class AddMobPacket extends DataPacket{
|
||||
public static $pool = [];
|
||||
|
@ -23,7 +23,9 @@ namespace pocketmine\network\protocol;
|
||||
|
||||
#include <rules/DataPacket.h>
|
||||
|
||||
#ifndef COMPILE
|
||||
use pocketmine\utils\Binary;
|
||||
#endif
|
||||
|
||||
class AddPlayerPacket extends DataPacket{
|
||||
public static $pool = [];
|
||||
|
@ -24,7 +24,9 @@ namespace pocketmine\network\protocol;
|
||||
#include <rules/DataPacket.h>
|
||||
|
||||
use pocketmine\item\Item;
|
||||
#ifndef COMPILE
|
||||
use pocketmine\utils\Binary;
|
||||
#endif
|
||||
|
||||
abstract class DataPacket extends \stdClass{
|
||||
|
||||
|
@ -23,7 +23,9 @@ namespace pocketmine\network\protocol;
|
||||
|
||||
#include <rules/DataPacket.h>
|
||||
|
||||
#ifndef COMPILE
|
||||
use pocketmine\utils\Binary;
|
||||
#endif
|
||||
|
||||
class SetEntityDataPacket extends DataPacket{
|
||||
public static $pool = [];
|
||||
|
Loading…
x
Reference in New Issue
Block a user