Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fix creative mode check in fireflies mod
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+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 |
|
|