Added melting for ice and snow layers

This commit is contained in:
Dylan K. Taylor
2017-04-18 18:55:01 +01:00
parent 3bd94c9da7
commit b6fe231bc1
3 changed files with 24 additions and 4 deletions

View File

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