mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-25 04:44:03 +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>
|
#include <rules/DataPacket.h>
|
||||||
|
|
||||||
|
#ifndef COMPILE
|
||||||
use pocketmine\utils\Binary;
|
use pocketmine\utils\Binary;
|
||||||
|
#endif
|
||||||
|
|
||||||
class AddMobPacket extends DataPacket{
|
class AddMobPacket extends DataPacket{
|
||||||
public static $pool = [];
|
public static $pool = [];
|
||||||
|
@ -23,7 +23,9 @@ namespace pocketmine\network\protocol;
|
|||||||
|
|
||||||
#include <rules/DataPacket.h>
|
#include <rules/DataPacket.h>
|
||||||
|
|
||||||
|
#ifndef COMPILE
|
||||||
use pocketmine\utils\Binary;
|
use pocketmine\utils\Binary;
|
||||||
|
#endif
|
||||||
|
|
||||||
class AddPlayerPacket extends DataPacket{
|
class AddPlayerPacket extends DataPacket{
|
||||||
public static $pool = [];
|
public static $pool = [];
|
||||||
|
@ -24,7 +24,9 @@ namespace pocketmine\network\protocol;
|
|||||||
#include <rules/DataPacket.h>
|
#include <rules/DataPacket.h>
|
||||||
|
|
||||||
use pocketmine\item\Item;
|
use pocketmine\item\Item;
|
||||||
|
#ifndef COMPILE
|
||||||
use pocketmine\utils\Binary;
|
use pocketmine\utils\Binary;
|
||||||
|
#endif
|
||||||
|
|
||||||
abstract class DataPacket extends \stdClass{
|
abstract class DataPacket extends \stdClass{
|
||||||
|
|
||||||
|
@ -23,7 +23,9 @@ namespace pocketmine\network\protocol;
|
|||||||
|
|
||||||
#include <rules/DataPacket.h>
|
#include <rules/DataPacket.h>
|
||||||
|
|
||||||
|
#ifndef COMPILE
|
||||||
use pocketmine\utils\Binary;
|
use pocketmine\utils\Binary;
|
||||||
|
#endif
|
||||||
|
|
||||||
class SetEntityDataPacket extends DataPacket{
|
class SetEntityDataPacket extends DataPacket{
|
||||||
public static $pool = [];
|
public static $pool = [];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user