Increased max rule byte size

This commit is contained in:
Anuken
2026-03-27 14:03:31 -04:00
parent 02d07aa4f8
commit 41805bd3bb
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -820,7 +820,7 @@ public class TypeIO{
public static Rules readRules(Reads read){
int length = read.i();
//this is only called clientside, but the byte limit is reasonable either way...
if(length > maxByteArraySize) throw new ArcRuntimeException("Rules too long");
if(length > 100_000) throw new ArcRuntimeException("Rules too long");
String string = new String(read.b(new byte[length]), charset);
return JsonIO.read(Rules.class, string);
}
+1 -1
View File
@@ -26,4 +26,4 @@ org.gradle.caching=true
org.gradle.internal.http.socketTimeout=100000
org.gradle.internal.http.connectionTimeout=100000
android.enableR8.fullMode=false
archash=dfb09c1ce2
archash=b1b048e64f