Improved block updates and Scheduled block updates [part1]

This commit is contained in:
Shoghi Cervantes Pueyo 2013-04-16 17:15:39 +02:00
parent 3c40c8734f
commit 710ed5c704
4 changed files with 78 additions and 20 deletions

View file

@ -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);
}