Renamed the group

This commit is contained in:
the-real-herowl 2024-12-29 08:07:54 +01:00
parent 5db1b10ffc
commit e49b115bce
2 changed files with 2 additions and 2 deletions

@ -207,7 +207,7 @@ tt.register_snippet(function(itemstring, _, itemstack)
local def = itemstack:get_definition()
if not def then return end
if not def.groups._vl_fireworks_star or def.groups._vl_fireworks_star == 0 then return end
if not def.groups.firework_star or def.groups.firework_star == 0 then return end
local s = ""
local meta = itemstack:get_meta()

@ -5,7 +5,7 @@ minetest.register_craftitem("vl_fireworks:firework_star", {
_doc_items_longdesc = S("A firework star is the key component of a firework rocket which is responsible for the visible explosion."),
wield_image = "vl_fireworks_star.png",
inventory_image = "vl_fireworks_star.png",
groups = { craftitem = 1, _vl_fireworks_star = 1 },
groups = { craftitem = 1, firework_star = 1 },
stack_max = 64,
})