GDExtension: Remove redundant method bind hash check

This commit is contained in:
David Snopek
2023-09-23 08:48:33 -05:00
parent c12d63556b
commit 0967fe6217

View File

@ -1323,10 +1323,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;
}