From 3588329c2dc87e9896118348db0ed5db6283bed0 Mon Sep 17 00:00:00 2001 From: mckaygerhard Date: Sun, 18 Jun 2023 04:19:58 -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