From ed997ad8a2501f81285f59bafa7ea0c1aa768b4e Mon Sep 17 00:00:00 2001 From: Jim Shield Date: Tue, 23 Sep 2025 12:00:40 +0100 Subject: [PATCH] fix typo breaking qb-core /commands --- shared/wrapperfunctions.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/shared/wrapperfunctions.lua b/shared/wrapperfunctions.lua index 0721bbc..6621e9c 100644 --- a/shared/wrapperfunctions.lua +++ b/shared/wrapperfunctions.lua @@ -1,4 +1,3 @@ - --- Registers a command with the active command system. --- This function supports multiple command systems (OXLib, qb-core, ESX Legacy). --- @@ -47,7 +46,7 @@ function registerCommand(command, options) optionTable.helpInfo, optionTable.subText, optionTable.argsRequired, - optionTable.funt, + optionTable.funct, optionTable.restriction or nil ) @@ -57,7 +56,7 @@ function registerCommand(command, options) optionTable.helpInfo, optionTable.subText, optionTable.argsRequired, - optionTable.funt, + optionTable.funct, optionTable.restriction or nil )