fixed incorrect recognition of some NULL objects
This commit is contained in:
1 parent
9b35c19bea
commit
d5ebe5361c
4 files changed
+5
-6
No files matched your search
@@ -97,7 +97,7 @@ public class ValueConversions
|
||||
public static Value fromTimedMemory(Entity e, long expiry, Object v)
|
||||
{
|
||||
Value ret = fromEntityMemory(e, v);
|
||||
if (ret == Value.NULL || expiry == Long.MAX_VALUE) return ret;
|
||||
if (ret.isNull() || expiry == Long.MAX_VALUE) return ret;
|
||||
return ListValue.of(ret, new NumericValue(expiry));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user