mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-06 11:57:10 +00:00
Added construct method
This commit is contained in:
parent
8a9762cd31
commit
8513a34358
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user