mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
removed some useless stuff from explosion, onPlace should be called every ti
This commit is contained in:
parent
9c21a984cd
commit
5d5099c06f
3 changed files with 17 additions and 15 deletions
|
|
@ -203,7 +203,7 @@ class LiquidBlockDynamic extends LiquidBlock{
|
|||
$flags = static::getSpread($level, $x, $y, $z);
|
||||
$k1 = $depth >= 8 ? 1 : ($depth + $flowAdd);
|
||||
if($k1 >= 8) return;
|
||||
//TODO flags are broken, no flags makes too much of the liquid
|
||||
|
||||
if($flags[0]) static::trySpreadTo($level, $x - 1, $y, $z, $k1);
|
||||
if($flags[1]) static::trySpreadTo($level, $x + 1, $y, $z, $k1);
|
||||
if($flags[2]) static::trySpreadTo($level, $x, $y, $z - 1, $k1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue