Chech another param

This commit is contained in:
Jean-Patrick Guerrero 2021-05-07 00:33:34 +02:00
parent 554acd002b
commit 8d55d89efe

View File

@ -2770,7 +2770,7 @@ core.register_on_chatcommand(function(name, command, params)
params = split(params, " ") params = split(params, " ")
for _, v in ipairs(params) do for _, v in ipairs(params) do
if find(v, "creative") then if find(v, "creative") or find(v, "all") then
local data = pdata[name] local data = pdata[name]
reset_data(data) reset_data(data)
data.favs = {} data.favs = {}