mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-31 04:51:40 +09:00
Fixed commands location
This commit is contained in:
@@ -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