mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +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{
|
class GenericBlock extends Block{
|
||||||
|
public function __construct($id, $meta = 0, $name = "Unknown"){
|
||||||
|
parent::__construct($id, $meta, $name);
|
||||||
|
}
|
||||||
public function onUpdate(LevelAPI $level, $type){
|
public function onUpdate(LevelAPI $level, $type){
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user