From ba7eeabf7b3014d151a21c8b47c623a9adffdcae Mon Sep 17 00:00:00 2001 From: Cooldude2606 Date: Thu, 28 Dec 2017 15:26:06 +0000 Subject: [PATCH] Fixed commands location --- ExpCore/commands.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ExpCore/commands.lua b/ExpCore/commands.lua index 797417a6..c0928663 100644 --- a/ExpCore/commands.lua +++ b/ExpCore/commands.lua @@ -63,7 +63,7 @@ end -- @usage get_commands(1) -- return {{command data},{command data}} -- @param player the player refreced by string|number|LuaPlayer|event -- @treturn table a table containg all the commands the player can use -function get_commands(player) +function commands.get_commands(player) local commands = {} local player = Game.get_player(player) if not player then return commands end