Merge branch 'master' of https://github.com/Anuken/Mindustry into 7.0-features

 Conflicts:
	core/src/mindustry/ai/BlockIndexer.java
	gradle.properties
This commit is contained in:
Anuken
2021-12-07 14:09:03 -05:00
8 changed files with 49 additions and 11 deletions

View File

@@ -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;
}