From 1c127400064fa7e5b524f3118ff1f38fb550e707 Mon Sep 17 00:00:00 2001 From: Anuken Date: Wed, 26 Aug 2020 13:57:20 -0400 Subject: [PATCH] arc --- core/src/mindustry/ai/BaseAI.java | 1 + gradle.properties | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/mindustry/ai/BaseAI.java b/core/src/mindustry/ai/BaseAI.java index df2fc26302..70a0c43b31 100644 --- a/core/src/mindustry/ai/BaseAI.java +++ b/core/src/mindustry/ai/BaseAI.java @@ -63,6 +63,7 @@ public class BaseAI{ int range = 150; Position pos = randomPosition(); + //when there are no random positions, do nothing. if(pos == null) return; diff --git a/gradle.properties b/gradle.properties index 06ddfd8c36..3c17a1d7f1 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,3 @@ org.gradle.daemon=true org.gradle.jvmargs=-Xms256m -Xmx1024m -archash=29362f92e360f9feec432627e063e799500acf48 +archash=2ac66690875edbfa17847a3ef61b13a3e2006fe2