mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
Merge pull request #159 from Cooldude2606/feature/datastore
Persistent Datastores Including Player Data
This commit is contained in:
@@ -39,12 +39,12 @@ end)
|
||||
Commands.add_parse('string-options',function(input, player, reject, options)
|
||||
if not input then return end -- nil check
|
||||
input = input:lower()
|
||||
for option in options do
|
||||
for _, option in ipairs(options) do
|
||||
if input == option:lower() then
|
||||
return true
|
||||
return option
|
||||
end
|
||||
end
|
||||
return reject{'reject-string-options',options:concat(', ')}
|
||||
return reject{'expcore-commands.reject-string-options', table.concat(options, ', ')}
|
||||
end)
|
||||
|
||||
Commands.add_parse('string-max-length',function(input, player, reject, max_length)
|
||||
|
||||
Reference in New Issue
Block a user