From 8d55d89efe4120e60eaa57b7188bab22786a5e8d Mon Sep 17 00:00:00 2001 From: Jean-Patrick Guerrero Date: Fri, 7 May 2021 00:33:34 +0200 Subject: [PATCH] Chech another param --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index b8a8728..824742d 100644 --- a/init.lua +++ b/init.lua @@ -2770,7 +2770,7 @@ core.register_on_chatcommand(function(name, command, params) params = split(params, " ") for _, v in ipairs(params) do - if find(v, "creative") then + if find(v, "creative") or find(v, "all") then local data = pdata[name] reset_data(data) data.favs = {}