diff --git a/loader/src/loader/CopyButtonSetting.cpp b/loader/src/loader/CopyButtonSetting.cpp index 178aea7a7..834ec2217 100644 --- a/loader/src/loader/CopyButtonSetting.cpp +++ b/loader/src/loader/CopyButtonSetting.cpp @@ -1,7 +1,7 @@ #include "CopyButtonSetting.hpp" #include -$execute { +$on_mod(Loaded) { (void)Mod::get()->registerCustomSettingType("copy-mods", &CopyButtonSetting::parse); }