Added support for bhl_native_class token

This commit is contained in:
wrenge 2023-01-27 16:13:35 +03:00
parent 9d5d076149
commit 86abc4e667
1 changed files with 2 additions and 0 deletions

View File

@ -184,6 +184,8 @@ function cs_simple_type(\mtgType $type)
}
throw new Exception("Unknown type '{$type}'");
}
if($type->hasToken("bhl_native_class"))
return $type->getToken("bhl_native_class");
return $type->getName();
}