Merge pull request #159 from Cooldude2606/feature/datastore

Persistent Datastores Including Player Data
This commit is contained in:
Cooldude2606
2020-05-26 19:11:42 +01:00
committed by GitHub
10 changed files with 1092 additions and 9 deletions

View File

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