diff --git a/src/ll/core/command/BuiltinCommands.cpp b/src/ll/core/command/BuiltinCommands.cpp index 08de65f51c..bed489f6fd 100644 --- a/src/ll/core/command/BuiltinCommands.cpp +++ b/src/ll/core/command/BuiltinCommands.cpp @@ -6,15 +6,21 @@ namespace ll::command { -LL_TYPE_INSTANCE_HOOK( +LL_TYPE_STATIC_HOOK( RegisterBuiltinCommands, ll::memory::HookPriority::Highest, DedicatedServerCommands, &DedicatedServerCommands::setupStandaloneServer, void, - ::ServerInstance& ins + ::Bedrock::NotNullNonOwnerPtr<::Minecraft> const& minecraft, + ::IMinecraftApp& app, + ::Level& level, + ::LevelStorage& levelStorage, + ::DedicatedServer& dedicatedServer, + ::AllowListFile& allowListFile, + ::ScriptSettings* scriptSettings ) { - origin(ins); + origin(minecraft, app, level, levelStorage, dedicatedServer, allowListFile, scriptSettings); registerTpdimCommand(); registerVersionCommand(); registerMemstatsCommand();