diff --git a/core/src/mindustry/ai/types/BuilderAI.java b/core/src/mindustry/ai/types/BuilderAI.java index 1152361a38..6d6a0fa5c9 100644 --- a/core/src/mindustry/ai/types/BuilderAI.java +++ b/core/src/mindustry/ai/types/BuilderAI.java @@ -15,11 +15,12 @@ import static mindustry.Vars.*; public class BuilderAI extends AIController{ public static float buildRadius = 1500, retreatDst = 110f, fleeRange = 370f, retreatDelay = Time.toSeconds * 2f; + public @Nullable Unit following; + public @Nullable Teamc enemy; + public @Nullable BlockPlan lastPlan; + boolean found = false; float retreatTimer; - @Nullable Unit following; - @Nullable Teamc enemy; - @Nullable BlockPlan lastPlan; @Override public void updateMovement(){ diff --git a/core/src/mindustry/ai/types/MinerAI.java b/core/src/mindustry/ai/types/MinerAI.java index 1c1a564c38..f4a408800f 100644 --- a/core/src/mindustry/ai/types/MinerAI.java +++ b/core/src/mindustry/ai/types/MinerAI.java @@ -9,9 +9,9 @@ import mindustry.world.*; import static mindustry.Vars.*; public class MinerAI extends AIController{ - boolean mining = true; - Item targetItem; - Tile ore; + public boolean mining = true; + public Item targetItem; + public Tile ore; @Override public void updateMovement(){