Fixed Mojang world converters barfing on PocketMine-MP generated McRegion worlds

blame @shoghicp
This commit is contained in:
Dylan K. Taylor
2017-05-21 12:44:42 +01:00
parent 0f174f7605
commit 0207b22110
3 changed files with 17 additions and 1 deletions

View File

@ -156,6 +156,10 @@ class Anvil extends McRegion{
return "anvil";
}
public static function getPcWorldFormatVersion() : int{
return 19133; //anvil
}
public function getWorldHeight() : int{
//TODO: add world height options
return 256;