You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
warnScript(Warnings,keyLine.Line,"list_should_be_value",$"Bad key `{keyName.Replace('`','\'')}` (was expected to be a direct Value, but was instead a list - check `!lang {typeString.Text} script containers` for format rules)!");
1058
1058
}
1059
+
elseif(typeString.Text=="data"||keyName=="data")
1060
+
{
1061
+
// Always allow 'data'
1062
+
}
1059
1063
elseif(scriptType.Strict)
1060
1064
{
1061
1065
warnScript(Warnings,keyLine.Line,"unknown_key_"+typeString.Text,$"Unexpected list key `{keyName.Replace('`','\'')}` (unrecognized - check `!lang {typeString.Text} script containers` for format rules)!");
warnScript(Warnings,keyLine.Line,"bad_key_"+typeString.Text,$"Bad key `{keyName.Replace('`','\'')}` (was expected to be a list or script, but was instead a direct Value - check `!lang {typeString.Text} script containers` for format rules)!");
1082
1086
}
1087
+
elseif(typeString.Text=="data"||keyName=="data")
1088
+
{
1089
+
// Always allow 'data'
1090
+
}
1083
1091
elseif(scriptType.Strict)
1084
1092
{
1085
1093
warnScript(Warnings,keyLine.Line,"unknown_key_"+typeString.Text,$"Unexpected value key `{keyName.Replace('`','\'')}` (unrecognized - check `!lang {typeString.Text} script containers` for format rules)!");
0 commit comments