From b11b087d5324c24eb74abbb0a131a0aaf217d2f0 Mon Sep 17 00:00:00 2001 From: Leonid Skorospelov Date: Sun, 16 May 2021 17:52:03 +0000 Subject: [PATCH] Do not reset mineTile of units to null client-side (#5252) --- core/src/mindustry/entities/comp/MinerComp.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/mindustry/entities/comp/MinerComp.java b/core/src/mindustry/entities/comp/MinerComp.java index 83b4b2a709..11f9b1af47 100644 --- a/core/src/mindustry/entities/comp/MinerComp.java +++ b/core/src/mindustry/entities/comp/MinerComp.java @@ -62,7 +62,7 @@ abstract class MinerComp implements Itemsc, Posc, Teamc, Rotc, Drawc{ } } - if(!validMine(mineTile)){ + if((!net.client() || isLocal()) && !validMine(mineTile)){ mineTile = null; mineTimer = 0f; }else if(mining()){