remove instanceof NullValues fixes #1313

This commit is contained in:
gnembon committed 2022-02-06 00:18:42 +01:00
1 parent 5c4e18ead1
commit 695b569977
11 files changed
+35 -30

No files matched your search

@@ -361,7 +361,7 @@ public class Auxiliary {
try
{
Value nameValue = lv.get(0);
name = nameValue instanceof NullValue ? "" : nameValue.getString();
name = nameValue.isNull() ? "" : nameValue.getString();
pointLocator = Vector3Argument.findIn(lv, 1, true, false);
if (lv.size()>pointLocator.offset)
{