mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Added setting to select the default level format
This commit is contained in:
@ -42,6 +42,9 @@ class Anvil extends BaseLevelProvider{
|
||||
/** @var Chunk[] */
|
||||
protected $chunks = [];
|
||||
|
||||
public static function getProviderName(){
|
||||
return "anvil";
|
||||
}
|
||||
|
||||
public static function isValid($path){
|
||||
$isValid = (file_exists($path . "/level.dat") and is_dir($path . "/region/"));
|
||||
|
Reference in New Issue
Block a user