mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-23 13:09:44 +00:00
Added construct method
This commit is contained in:
parent
8a9762cd31
commit
8513a34358
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue