mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-25 20:33:59 +00:00
Check for existence of ChunkUtils extension
This commit is contained in:
parent
9ea39ea3d7
commit
297cfcf168
@ -23,7 +23,8 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace pocketmine\level\format\io;
|
namespace pocketmine\level\format\io;
|
||||||
|
|
||||||
class ChunkUtils{
|
if(!extension_loaded('pocketmine_chunkutils')){
|
||||||
|
class ChunkUtils{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Re-orders a byte array (YZX -> XZY and vice versa)
|
* Re-orders a byte array (YZX -> XZY and vice versa)
|
||||||
@ -103,4 +104,5 @@ class ChunkUtils{
|
|||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user