mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
biomes should be covered in grass now, biome ids are now saved
This commit is contained in:
parent
a5b86aa3ea
commit
3e3bc76ae0
10 changed files with 146 additions and 23 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue