mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-04 17:06:16 +00:00
Add header includes and preprocessor checks
This commit is contained in:
@ -23,7 +23,11 @@ declare(strict_types=1);
|
||||
|
||||
namespace pocketmine\nbt;
|
||||
|
||||
#ifndef COMPILE
|
||||
use pocketmine\utils\Binary;
|
||||
#endif
|
||||
|
||||
#include <rules/NBT.h>
|
||||
|
||||
class BigEndianNBTStream extends NBTStream{
|
||||
|
||||
|
@ -23,7 +23,11 @@ declare(strict_types=1);
|
||||
|
||||
namespace pocketmine\nbt;
|
||||
|
||||
#ifndef COMPILE
|
||||
use pocketmine\utils\Binary;
|
||||
#endif
|
||||
|
||||
#include <rules/NBT.h>
|
||||
|
||||
class LittleEndianNBTStream extends NBTStream{
|
||||
|
||||
|
@ -33,7 +33,11 @@ use pocketmine\nbt\tag\ListTag;
|
||||
use pocketmine\nbt\tag\NamedTag;
|
||||
use pocketmine\nbt\tag\StringTag;
|
||||
use pocketmine\nbt\tag\Tag;
|
||||
#ifndef COMPILE
|
||||
use pocketmine\utils\Binary;
|
||||
#endif
|
||||
|
||||
#include <rules/NBT.h>
|
||||
|
||||
/**
|
||||
* Base Named Binary Tag encoder/decoder
|
||||
|
@ -23,7 +23,11 @@ declare(strict_types=1);
|
||||
|
||||
namespace pocketmine\nbt;
|
||||
|
||||
#ifndef COMPILE
|
||||
use pocketmine\utils\Binary;
|
||||
#endif
|
||||
|
||||
#include <rules/NBT.h>
|
||||
|
||||
class NetworkLittleEndianNBTStream extends LittleEndianNBTStream{
|
||||
|
||||
|
Submodule tests/preprocessor updated: 86961f8197...316fd5606f
Reference in New Issue
Block a user