Chech another param
This commit is contained in:
parent
554acd002b
commit
8d55d89efe
2
init.lua
2
init.lua
|
@ -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 = {}
|
||||||
|
|
Ŝarĝante…
Reference in New Issue