fix: Windows client compile errors — get_world_3d on Node, array type mismatch, null plugin guard, maps format
This commit is contained in:
@@ -251,6 +251,9 @@ func _load_plugin_from_manifest(name: String, manifest: PluginManifest) -> bool:
|
||||
if "plugin_author" in instance:
|
||||
instance.plugin_author = manifest.author
|
||||
|
||||
if instance == null:
|
||||
push_error("[PluginManager] Failed to instantiate plugin: %s" % name)
|
||||
return
|
||||
instance.name = "Plugin_%s" % name
|
||||
add_child(instance)
|
||||
loaded_plugins[name] = instance
|
||||
|
||||
Reference in New Issue
Block a user