Used namespacer on Blocks and Items

This commit is contained in:
Shoghi Cervantes
2014-03-06 17:16:05 +01:00
parent d490972a42
commit 6a736aa822
86 changed files with 528 additions and 345 deletions

View File

@ -21,13 +21,14 @@
namespace PocketMine\Block;
use PocketMine;
use PocketMine\Item\Item as Item;
class BirchWoodStairs extends Stair{
public function __construct($meta = 0){
parent::__construct(BIRCH_WOOD_STAIRS, $meta, "Birch Wood Stairs");
}
public function getDrops(Item\Item $item, Player $player){
public function getDrops(Item $item, Player $player){
return array(
array($this->id, 0, 1),
);