From feba9d677e86bb661a1f344160f4c6a3928ee6d9 Mon Sep 17 00:00:00 2001 From: Anuken Date: Mon, 29 Nov 2021 20:13:59 -0500 Subject: [PATCH] Fixed #6389 --- core/src/mindustry/world/blocks/Attributes.java | 2 ++ gradle.properties | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/core/src/mindustry/world/blocks/Attributes.java b/core/src/mindustry/world/blocks/Attributes.java index 9f7a2966f0..e1e73a1ab9 100644 --- a/core/src/mindustry/world/blocks/Attributes.java +++ b/core/src/mindustry/world/blocks/Attributes.java @@ -25,6 +25,7 @@ public class Attributes implements JsonSerializable{ public void add(Attributes other){ check(); + other.check(); for(int i = 0; i < arr.length; i++){ arr[i] += other.arr[i]; } @@ -32,6 +33,7 @@ public class Attributes implements JsonSerializable{ public void add(Attributes other, float scl){ check(); + other.check(); for(int i = 0; i < arr.length; i++){ arr[i] += other.arr[i] * scl; } diff --git a/gradle.properties b/gradle.properties index 2385596a20..611d472faa 100644 --- a/gradle.properties +++ b/gradle.properties @@ -24,4 +24,4 @@ android.useAndroidX=true #used for slow jitpack builds; TODO see if this actually works org.gradle.internal.http.socketTimeout=100000 org.gradle.internal.http.connectionTimeout=100000 -archash=e98a7f21 +archash=00d1f312