You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Add checks after ResourceLoader::load()
This commit is contained in:
@@ -380,6 +380,7 @@ void VersionControlEditorPlugin::fetch_available_vcs_addon_names() {
|
||||
|
||||
String path = ScriptServer::get_global_class_path(global_classes[i]);
|
||||
Ref<Script> script = ResourceLoader::load(path);
|
||||
ERR_FAIL_COND(script.is_null());
|
||||
|
||||
if (script->get_instance_base_type() == "EditorVCSInterface") {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user