Skip to content

Commit 0434f74

Browse files
authored
fix: 🐛 added missing static (#291)
added the missing `static` to the methods in `ModLoaderModManager` closes #289
1 parent 1683759 commit 0434f74

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

addons/mod_loader/api/mod_manager.gd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ static func uninstall_script_extension(extension_script_path: String) -> void:
3131
# Used to reload already present mods and load new ones*
3232
#
3333
# Returns: void
34-
func reload_mods() -> void:
34+
static func reload_mods() -> void:
3535

3636
# Currently this is the only thing we do, but it is better to expose
3737
# this function like this for further changes
@@ -49,7 +49,7 @@ func reload_mods() -> void:
4949
# handle removing all the changes that were not done through the Mod Loader*
5050
#
5151
# Returns: void
52-
func disable_mods() -> void:
52+
static func disable_mods() -> void:
5353

5454
# Currently this is the only thing we do, but it is better to expose
5555
# this function like this for further changes
@@ -70,8 +70,8 @@ func disable_mods() -> void:
7070
# - mod_data (ModData): The ModData object representing the mod to be disabled.
7171
#
7272
# Returns: void
73-
func disable_mod(mod_data: ModData) -> void:
73+
static func disable_mod(mod_data: ModData) -> void:
7474

7575
# Currently this is the only thing we do, but it is better to expose
7676
# this function like this for further changes
77-
ModLoader._disable_mod(mod_data)
77+
ModLoader._disable_mod(mod_data)

0 commit comments

Comments
 (0)