From 04c077e570887bbaf9aa0101c3a9199cf427cc7c Mon Sep 17 00:00:00 2001 From: mckaygerhard Date: Sun, 18 Jun 2023 04:37:27 -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 3f9cdac..a28fd12 100644 --- a/mods/fireflies/init.lua +++ b/mods/fireflies/init.lua @@ -111,7 +111,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