boolean fix

This commit is contained in:
Daniella 2022-04-25 00:16:57 +02:00
parent f2b67a1b40
commit 9db8d592d7

View file

@ -1490,7 +1490,7 @@ class ISBPLObject {
} }
public boolean isTruthy() { public boolean isTruthy() {
return object != null && object != Integer.valueOf(0); return object != null && object != Integer.valueOf(0) && object != Boolean.valueOf(false);
} }
// This has heavy optimizations, please do not change unless necessary // This has heavy optimizations, please do not change unless necessary