Merge 5d85001de16c57b44f7ef4030fe3fe828d56ca0e into 14764aa2e2e2b282c4a4dffbfab4c01d3e46e8a7

This commit is contained in:
shadownetdev1 2024-07-23 13:39:34 +08:00 committed by GitHub
commit 6049483b1f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -464,7 +464,7 @@ def validate_inputs(prompt, item, validated):
o_id = val[0]
o_class_type = prompt[o_id]['class_type']
r = nodes.NODE_CLASS_MAPPINGS[o_class_type].RETURN_TYPES
if r[val[1]] != type_input:
if r[val[1]] != type_input and type_input != "*":
received_type = r[val[1]]
details = f"{x}, {received_type} != {type_input}"
error = {