Tweak setBlock in update tick - it should only send serverside updates for
source blocks. Experimental attempt to fix worldgen issues for fluid blocks
This commit is contained in:
parent
5c5cf3e7e7
commit
c3f62ed8bf
1 changed files with 10 additions and 9 deletions
|
@ -128,9 +128,10 @@ public class BlockFluidClassic extends BlockFluidBase
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (quantaRemaining > quantaPerBlock)
|
// This is a "source" block, set meta to zero, and send a server only update
|
||||||
|
else if (quantaRemaining >= quantaPerBlock)
|
||||||
{
|
{
|
||||||
world.setBlockMetadataWithNotify(x, y, z, 0, 3);
|
world.setBlockMetadataWithNotify(x, y, z, 0, 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Flow vertically if possible
|
// Flow vertically if possible
|
||||||
|
|
Loading…
Reference in a new issue