diff --git a/core/src/mindustry/world/Edges.java b/core/src/mindustry/world/Edges.java index c08b71cdce..19e3f90d97 100644 --- a/core/src/mindustry/world/Edges.java +++ b/core/src/mindustry/world/Edges.java @@ -3,13 +3,14 @@ package mindustry.world; import arc.math.*; import arc.math.geom.*; import mindustry.gen.*; +import mindustry.world.blocks.ConstructBlock; import java.util.*; import static mindustry.Vars.*; public class Edges{ - private static final int maxSize = 14; + private static final int maxSize = ConstructBlock.maxSize; private static final int maxRadius = 12; private static Point2[][] edges = new Point2[maxSize][0]; private static Point2[][] edgeInside = new Point2[maxSize][0];