cache: "ingredient" is not a valid group without itemname

master
Alexander Weber 2018-04-04 20:53:16 +02:00
parent 9175f59fe8
commit 560ad2a754
1 changed files with 1 additions and 1 deletions

View File

@ -341,7 +341,7 @@ filter.register_filter({
end,
is_valid = function(self, groupname)
local itemname = groupname:sub(12)
if minetest.registered_items[itemname] then
if itemname ~= "" and minetest.registered_items[itemname] then
return true
end
end