Browse Source

Merge pull request #66184 from touilleMan/gdnative_interface-fix-hash-mismatch-error-print

Fix hash mismatch error print in gdextension's gdnative_classdb_get_method_bind
Clay John 2 years ago
parent
commit
c8a0912f36
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/extension/gdnative_interface.cpp

+ 1 - 1
core/extension/gdnative_interface.cpp

@@ -884,7 +884,7 @@ static GDNativeMethodBindPtr gdnative_classdb_get_method_bind(const char *p_clas
 	MethodBind *mb = ClassDB::get_method(StringName(p_classname), StringName(p_methodname));
 	MethodBind *mb = ClassDB::get_method(StringName(p_classname), StringName(p_methodname));
 	ERR_FAIL_COND_V(!mb, nullptr);
 	ERR_FAIL_COND_V(!mb, nullptr);
 	if (mb->get_hash() != p_hash) {
 	if (mb->get_hash() != p_hash) {
-		ERR_PRINT_ONCE("Hash mismatch for method '" + String(p_classname) + "." + String(p_methodname) + "'.");
+		ERR_PRINT("Hash mismatch for method '" + String(p_classname) + "." + String(p_methodname) + "'.");
 		return nullptr;
 		return nullptr;
 	}
 	}
 	// MethodBind *mb = ClassDB::get_method("Node", "get_name");
 	// MethodBind *mb = ClassDB::get_method("Node", "get_name");