Merge branch 'release/3.4'

This commit is contained in:
Dylan K. Taylor 2018-11-17 18:13:03 +00:00
commit a4e81674c3

View File

@ -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;