Added setting to select the default level format

This commit is contained in:
Shoghi Cervantes
2014-07-29 18:54:40 +02:00
parent e9311f5ceb
commit afe44e6c6f
6 changed files with 27 additions and 2 deletions

View File

@ -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/"));