mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-24 20:04:28 +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;
|
||||
|
||||
class ChunkUtils{
|
||||
if(!extension_loaded('pocketmine_chunkutils')){
|
||||
class ChunkUtils{
|
||||
|
||||
/**
|
||||
* Re-orders a byte array (YZX -> XZY and vice versa)
|
||||
@ -103,4 +104,5 @@ class ChunkUtils{
|
||||
return $result;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user