From 8f33a0678e3cc9bbf4dbb5c8767c77724c9592e3 Mon Sep 17 00:00:00 2001 From: the-real-herowl Date: Sun, 29 Dec 2024 08:07:54 +0100 Subject: [PATCH] Renamed the group --- mods/HELP/mcl_tt/snippets_mcl.lua | 2 +- mods/ITEMS/vl_fireworks/star.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/HELP/mcl_tt/snippets_mcl.lua b/mods/HELP/mcl_tt/snippets_mcl.lua index e4b5cf867..d03ee5f5f 100644 --- a/mods/HELP/mcl_tt/snippets_mcl.lua +++ b/mods/HELP/mcl_tt/snippets_mcl.lua @@ -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() diff --git a/mods/ITEMS/vl_fireworks/star.lua b/mods/ITEMS/vl_fireworks/star.lua index f60fceb0a..339ec491d 100644 --- a/mods/ITEMS/vl_fireworks/star.lua +++ b/mods/ITEMS/vl_fireworks/star.lua @@ -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, })