mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-19 04:15:04 +00:00
Added construct method
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user