This commit is contained in:
Anuken 2023-08-12 12:44:28 -04:00
parent 7999eb4c4d
commit b47a1b6d0d

View File

@ -70,13 +70,16 @@ public class Puddles{
Puddle p = map.get(tile.pos());
if(p == null || p.liquid == null){
Puddle puddle = Puddle.create();
puddle.tile = tile;
puddle.liquid = liquid;
puddle.amount = amount;
puddle.set(ax, ay);
map.put(tile.pos(), puddle);
puddle.add();
if(!Vars.net.client()){
//do not create puddles clientside as that destroys syncing
Puddle puddle = Puddle.create();
puddle.tile = tile;
puddle.liquid = liquid;
puddle.amount = amount;
puddle.set(ax, ay);
map.put(tile.pos(), puddle);
puddle.add();
}
}else if(p.liquid == liquid){
p.accepting = Math.max(amount, p.accepting);