Added Item namespace

This commit is contained in:
Shoghi Cervantes
2014-03-06 15:11:46 +01:00
parent e3f1db0f45
commit 419f246e68
78 changed files with 1057 additions and 744 deletions

View File

@ -27,7 +27,7 @@ class GlowingRedstoneOreBlock extends SolidBlock{
public function onUpdate($type){
if($type === BLOCK_UPDATE_SCHEDULED or $type === BLOCK_UPDATE_RANDOM){
$this->level->setBlock($this, BlockAPI::get(REDSTONE_ORE, $this->meta), false, false, true);
$this->level->setBlock($this, Block\Block::get(REDSTONE_ORE, $this->meta), false, false, true);
return BLOCK_UPDATE_WEAK;
} else{