mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
water physics tweaked
This commit is contained in:
parent
1545903159
commit
972a08d171
2 changed files with 4 additions and 3 deletions
|
|
@ -27,6 +27,7 @@ class WaterBlock extends LiquidBlock{
|
|||
}
|
||||
|
||||
public function checkLava(){
|
||||
$ret = false;
|
||||
for($side = 0; $side <= 5; ++$side){
|
||||
if($side == 1){
|
||||
continue;
|
||||
|
|
@ -39,10 +40,10 @@ class WaterBlock extends LiquidBlock{
|
|||
}else{
|
||||
$this->level->setBlock($b, new CobblestoneBlock(), false, false, true);
|
||||
}
|
||||
return true;
|
||||
$ret = true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
return $ret;
|
||||
}
|
||||
|
||||
public function getFrom(){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue