mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Fixed liquid CPU leaks and some flow issues
Liquid still needs a total rewrite, but at least it won't constantly waste CPU anymore.
This commit is contained in:
@ -29,13 +29,6 @@ class StillLava extends Lava{
|
||||
|
||||
protected $id = self::STILL_LAVA;
|
||||
|
||||
public function onUpdate($type){
|
||||
if($type !== Level::BLOCK_UPDATE_SCHEDULED){
|
||||
return parent::onUpdate($type);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getName(){
|
||||
return "Still Lava";
|
||||
}
|
||||
|
Reference in New Issue
Block a user