mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Cleaned up random-block-ticking registration
This commit is contained in:
@ -40,6 +40,9 @@ class RedMushroom extends Flowable{
|
||||
return "Red Mushroom";
|
||||
}
|
||||
|
||||
public function ticksRandomly() : bool{
|
||||
return true;
|
||||
}
|
||||
|
||||
public function onUpdate(int $type){
|
||||
if($type === Level::BLOCK_UPDATE_NORMAL){
|
||||
|
Reference in New Issue
Block a user