Fixed commands location

This commit is contained in:
Cooldude2606
2017-12-28 15:26:06 +00:00
parent 4032959454
commit ba7eeabf7b

View File

@@ -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