Added Furnace

This commit is contained in:
Shoghi Cervantes Pueyo 2013-01-06 01:16:49 +01:00
parent 82f2a0f2f8
commit 125f1c11b4

View File

@ -239,9 +239,21 @@ class BlockAPI{
"windowid" => 1,
"type" => WINDOW_CHEST,
"slots" => 27,
"title" => "Random Chest",
"title" => "Chest",
));
break;
case 61:
case 62:
if($this->server->gamemode === 1){
break;
}
$this->server->api->player->getByEID($data["eid"])->dataPacket(MC_CONTAINER_OPEN, array(
"windowid" => 1,
"type" => WINDOW_FURNACE,
"slots" => 3,
"title" => "Furnace",
));
break;
case 6:
if($data["block"] === 351 and $data["meta"] === 0x0F){ //Bonemeal
Sapling::growTree($this->server->api->level, $target, $target[1] & 0x03);