Fixed #6304
This commit is contained in:
@@ -56,6 +56,10 @@ public class Attributes implements JsonSerializable{
|
||||
}
|
||||
|
||||
private void check(){
|
||||
if(arr.length != Attribute.all.length) arr = new float[Attribute.all.length];
|
||||
if(arr.length != Attribute.all.length){
|
||||
var last = arr;
|
||||
arr = new float[Attribute.all.length];
|
||||
System.arraycopy(last, 0, arr, 0, Math.min(last.length, arr.length));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -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=ace698cee9e0ea2bc7993ffa44501122bd891b44
|
||||
archash=f8d38a3dd1efa587d3ac08c3b765223935ddffa2
|
||||
|
||||
Reference in New Issue
Block a user