mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Added block order detection, added support for non-sectioned level formats
This commit is contained in:
@ -46,6 +46,14 @@ class Anvil extends BaseLevelProvider{
|
||||
return "anvil";
|
||||
}
|
||||
|
||||
public static function getProviderOrder(){
|
||||
return self::ORDER_YZX;
|
||||
}
|
||||
|
||||
public static function usesChunkSection(){
|
||||
return true;
|
||||
}
|
||||
|
||||
public static function isValid($path){
|
||||
$isValid = (file_exists($path . "/level.dat") and is_dir($path . "/region/"));
|
||||
|
||||
|
Reference in New Issue
Block a user