mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2025-01-09 16:49:35 +01:00
Renamed the group
This commit is contained in:
parent
c9bc8ecbd2
commit
8f33a0678e
2 changed files with 2 additions and 2 deletions
|
@ -207,7 +207,7 @@ tt.register_snippet(function(itemstring, _, itemstack)
|
||||||
local def = itemstack:get_definition()
|
local def = itemstack:get_definition()
|
||||||
if not def then return end
|
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 s = ""
|
||||||
local meta = itemstack:get_meta()
|
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."),
|
_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",
|
wield_image = "vl_fireworks_star.png",
|
||||||
inventory_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,
|
stack_max = 64,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue