From 2a1ddf257335112950ac24771a47ec331db70fbc Mon Sep 17 00:00:00 2001 From: Patrick 'Quezler' Mounier Date: Mon, 7 Dec 2020 13:21:32 +0100 Subject: [PATCH] Fixed #3839 --- core/src/mindustry/world/Edges.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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];