mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2025-01-01 14:17:29 +01:00
Renamed the group
This commit is contained in:
parent
5db1b10ffc
commit
e49b115bce
@ -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,
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user