mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-12 22:45:28 +00:00
Check for existence of ChunkUtils extension
This commit is contained in:
parent
ddfe828445
commit
8caabd3267
@ -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