From 8513a34358f51228b0c048c9aa946f266735bcfc Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Pueyo Date: Sat, 2 Feb 2013 19:52:06 +0100 Subject: [PATCH] Added construct method --- src/classes/material/block/GenericBlock.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/classes/material/block/GenericBlock.php b/src/classes/material/block/GenericBlock.php index 59e232127..e09d48202 100644 --- a/src/classes/material/block/GenericBlock.php +++ b/src/classes/material/block/GenericBlock.php @@ -27,6 +27,9 @@ the Free Software Foundation, either version 3 of the License, or class GenericBlock extends Block{ + public function __construct($id, $meta = 0, $name = "Unknown"){ + parent::__construct($id, $meta, $name); + } public function onUpdate(LevelAPI $level, $type){ return false; }