mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Improved block updates and Scheduled block updates [part1]
This commit is contained in:
parent
3c40c8734f
commit
710ed5c704
4 changed files with 78 additions and 20 deletions
|
|
@ -53,6 +53,7 @@ class GenericBlock extends Block{
|
|||
public function onUpdate(BlockAPI $level, $type){
|
||||
return false;
|
||||
}
|
||||
|
||||
public function onActivate(BlockAPI $level, Item $item, Player $player){
|
||||
return ($this->isActivable);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue