Merge pull request #82191 from dsnopek/gdextension-redundant-hash-check

GDExtension: Remove redundant method bind hash check
This commit is contained in:
Rémi Verschelde
2023-09-24 23:35:45 +02:00

View File

@ -1341,10 +1341,6 @@ static GDExtensionMethodBindPtr gdextension_classdb_get_method_bind(GDExtensionC
return nullptr;
}
ERR_FAIL_NULL_V(mb, nullptr);
if (mb->get_hash() != p_hash) {
ERR_PRINT("Hash mismatch for method '" + classname + "." + methodname + "'.");
return nullptr;
}
return (GDExtensionMethodBindPtr)mb;
}