biomes should be covered in grass now, biome ids are now saved

This commit is contained in:
GameHerobrine 2023-03-07 20:17:45 +03:00
parent a5b86aa3ea
commit 3e3bc76ae0
10 changed files with 146 additions and 23 deletions

View file

@ -245,7 +245,12 @@ class BlockAPI{
function __construct(){
$this->server = ServerAPI::request();
}
/**
* @param integer $id
* @param number $meta
* @param boolean $v
* @return GenericBlock
*/
public static function get($id, $meta = 0, $v = false){
if(isset(Block::$class[$id])){
$classname = Block::$class[$id];