Merge branch 'master' into 1.16

This commit is contained in:
gnembon committed 2020-05-03 23:21:39 -03:00
commit cdb79f9768
2 files changed
+11 -4

No files matched your search

+1 -1
View File
@@ -1575,7 +1575,7 @@ public class Expression
if (lv.size() == 1)
return new StringValue(format);
int argIndex = 1;
if (lv.get(1) instanceof ListValue)
if (lv.get(1) instanceof ListValue && lv.size() == 2)
{
lv = ((ListValue) lv.get(1)).getItems();
argIndex = 0;