Minecraft: Pocket Edition 0.7.0 dev. release

* Crafting enabled, report bugs
* Chat handler
This commit is contained in:
Shoghi Cervantes 2013-06-06 17:14:09 +02:00
parent 1f4df559e0
commit 4b408675cf
25 changed files with 652 additions and 420 deletions

View file

@ -30,10 +30,15 @@ class WorkbenchBlock extends SolidBlock{
parent::__construct(WORKBENCH, $meta, "Crafting Table");
$this->isActivable = true;
}
public function onActivate(Item $item, Player $player){
$player->toCraft[-1] = 1;
return true;
}
public function getDrops(Item $item, Player $player){
return array(
array($this->id, 0, 1),
);
}
}
}