Predict MiningTool liquid collection
This commit is contained in:
parent
d65bc3cc8d
commit
d2ec7f37c1
@ -1344,6 +1344,10 @@ void WorldClient::collectLiquid(List<Vec2I> const& tilePositions, LiquidId liqui
|
|||||||
if (!inWorld())
|
if (!inWorld())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
TileModification modification = PlaceLiquid{ EmptyLiquidId, 0.0f };
|
||||||
|
for (auto& pos : tilePositions)
|
||||||
|
informTilePrediction(pos, modification);
|
||||||
|
|
||||||
m_outgoingPackets.append(make_shared<CollectLiquidPacket>(tilePositions, liquidId));
|
m_outgoingPackets.append(make_shared<CollectLiquidPacket>(tilePositions, liquidId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user