From eff4631f35188c02aac31c35d95f12695ee37374 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Pueyo Date: Mon, 11 Feb 2013 21:04:35 +0100 Subject: [PATCH] Fixes #103 --- src/API/BlockAPI.php | 1 + src/classes/material/Block.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/API/BlockAPI.php b/src/API/BlockAPI.php index e8907c982..bc3e11e25 100644 --- a/src/API/BlockAPI.php +++ b/src/API/BlockAPI.php @@ -143,6 +143,7 @@ class BlockAPI{ break; } + return $output; } private function cancelAction(Block $block){ diff --git a/src/classes/material/Block.php b/src/classes/material/Block.php index 6b3e5f86d..c737b32cb 100644 --- a/src/classes/material/Block.php +++ b/src/classes/material/Block.php @@ -65,7 +65,7 @@ abstract class Block{ IRON_BLOCK => "IronBlock", DOUBLE_SLAB => "DoubleSlabBlock", SLAB => "SlabBlock", - BRICKS => "BricksBlock", + BRICKS_BLOCK => "BricksBlock", TNT => "TNTBlock", BOOKSHELF => "BookshelfBlock", MOSS_STONE => "MossStoneBlock",