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
commit d8c31155a8
No known key found for this signature in database
GPG Key ID: C3336907360768E1

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;
}