mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
Fix Performance Problem
Welcome, TPS!
This commit is contained in:
parent
fe70fa467d
commit
7acdb0dd3f
2 changed files with 8 additions and 5 deletions
|
|
@ -121,7 +121,7 @@ class WaterBlock extends LiquidBlock{
|
|||
$b = $this->getSide($side);
|
||||
if($b instanceof WaterBlock)
|
||||
{
|
||||
if( $this->getSourceCount() >= 2)
|
||||
if( $this->getSourceCount() >= 2 && $level != 0x00)
|
||||
{
|
||||
$this->level->setBlock($this, new WaterBlock(0), false, false, true);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue