mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Added melting for ice and snow layers
This commit is contained in:
@ -30,6 +30,7 @@ class StillWater extends Water{
|
||||
protected $id = self::STILL_WATER;
|
||||
|
||||
public function onUpdate($type){
|
||||
//TODO: add freezing in cold biomes
|
||||
if($type !== Level::BLOCK_UPDATE_SCHEDULED){
|
||||
return parent::onUpdate($type);
|
||||
}
|
||||
|
Reference in New Issue
Block a user