Memory tool: fix null access types
@@ -605,11 +605,13 @@ class Memory {
for( i in currentTypeIndex...types.length ) {
var t = types[i];
var tstr = t.toString();
+ if (tstr != null) {
resolveCache.set(tstr, t);
currentTypeIndex = i + 1;
if( tstr == str )
return t;
}
+ }
if( showError )
log("Type not found '"+str+"'");
return null;
