From 9ac8666ea89e2f0bac64e626aafe79669d9d6e3c Mon Sep 17 00:00:00 2001 From: mckaygerhard Date: Sun, 18 Jun 2023 04:19:50 -0400 Subject: [PATCH] fireflies - fix wrong conditional --- mods/fireflies/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/fireflies/init.lua b/mods/fireflies/init.lua index 93ce432..f5058a8 100644 --- a/mods/fireflies/init.lua +++ b/mods/fireflies/init.lua @@ -58,7 +58,7 @@ minetest.register_tool("fireflies:bug_net", { end end if not m_cre then - if creative.is_enabled_for(player:get_player_name())) then + if creative.is_enabled_for(player:get_player_name()) then itemstack:add_wear(256) return itemstack end