mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
shut up PhpStorm
This commit is contained in:
parent
a02f422d85
commit
cdf7e28251
@ -23,11 +23,9 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace pocketmine\level\format;
|
namespace pocketmine\level\format;
|
||||||
|
|
||||||
$name = __NAMESPACE__ . '\ZERO_NIBBLE_ARRAY';
|
if(!defined(__NAMESPACE__ . '\ZERO_NIBBLE_ARRAY')){
|
||||||
if(!defined($name)){
|
define(__NAMESPACE__ . '\ZERO_NIBBLE_ARRAY', str_repeat("\x00", 2048));
|
||||||
define($name, str_repeat("\x00", 2048));
|
|
||||||
}
|
}
|
||||||
unset($name);
|
|
||||||
|
|
||||||
class SubChunk implements SubChunkInterface{
|
class SubChunk implements SubChunkInterface{
|
||||||
protected $ids;
|
protected $ids;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user