mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-19 23:23:12 +09:00
Fixed commands location
This commit is contained in:
1 parent
4032959454
commit
ba7eeabf7b
1 file changed
+1
-1
@@ -63,7 +63,7 @@ end
|
|||||||
-- @usage get_commands(1) -- return {{command data},{command data}}
|
-- @usage get_commands(1) -- return {{command data},{command data}}
|
||||||
-- @param player the player refreced by string|number|LuaPlayer|event
|
-- @param player the player refreced by string|number|LuaPlayer|event
|
||||||
-- @treturn table a table containg all the commands the player can use
|
-- @treturn table a table containg all the commands the player can use
|
||||||
function get_commands(player)
|
function commands.get_commands(player)
|
||||||
local commands = {}
|
local commands = {}
|
||||||
local player = Game.get_player(player)
|
local player = Game.get_player(player)
|
||||||
if not player then return commands end
|
if not player then return commands end
|
||||||
|
|||||||
Reference in new issue
Block a user