Fixed #6389
This commit is contained in:
@@ -25,6 +25,7 @@ public class Attributes implements JsonSerializable{
|
|||||||
|
|
||||||
public void add(Attributes other){
|
public void add(Attributes other){
|
||||||
check();
|
check();
|
||||||
|
other.check();
|
||||||
for(int i = 0; i < arr.length; i++){
|
for(int i = 0; i < arr.length; i++){
|
||||||
arr[i] += other.arr[i];
|
arr[i] += other.arr[i];
|
||||||
}
|
}
|
||||||
@@ -32,6 +33,7 @@ public class Attributes implements JsonSerializable{
|
|||||||
|
|
||||||
public void add(Attributes other, float scl){
|
public void add(Attributes other, float scl){
|
||||||
check();
|
check();
|
||||||
|
other.check();
|
||||||
for(int i = 0; i < arr.length; i++){
|
for(int i = 0; i < arr.length; i++){
|
||||||
arr[i] += other.arr[i] * scl;
|
arr[i] += other.arr[i] * scl;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,4 +24,4 @@ android.useAndroidX=true
|
|||||||
#used for slow jitpack builds; TODO see if this actually works
|
#used for slow jitpack builds; TODO see if this actually works
|
||||||
org.gradle.internal.http.socketTimeout=100000
|
org.gradle.internal.http.socketTimeout=100000
|
||||||
org.gradle.internal.http.connectionTimeout=100000
|
org.gradle.internal.http.connectionTimeout=100000
|
||||||
archash=e98a7f21
|
archash=00d1f312
|
||||||
|
|||||||
Reference in New Issue
Block a user