Skip to content
Permalink
Browse files

Fix creative mode check in fireflies mod

  • Loading branch information
sfan5 committed Mar 25, 2018
1 parent 465d8ca commit fb0217042bd8d774a4d57f816db864654e65ad25
Showing with 1 addition and 1 deletion.
  1. +1 −1 mods/fireflies/init.lua
@@ -103,7 +103,7 @@ minetest.register_tool("fireflies:bug_net", {
minetest.add_item(pointed_thing.under, node_name.." 1")
end
end
if not minetest.setting_getbool("creative_mode") then
if not creative.is_enabled_for(player:get_player_name()) then
itemstack:add_wear(256)
return itemstack
end

0 comments on commit fb02170

Please sign in to comment.
You can’t perform that action at this time.