This commit is contained in:
Anuken 2021-01-06 16:25:05 -05:00
parent 9f51e23206
commit 99aec4ad15

View File

@ -952,7 +952,7 @@ public class LExecutor{
Var vb = exec.var(compare);
boolean cmp;
if(op.objFunction != null && (va.isobj || vb.isobj)){
if(op.objFunction != null && va.isobj && vb.isobj){
//use object function if provided, and one of the variables is an object
cmp = op.objFunction.get(exec.obj(value), exec.obj(compare));
}else{