fireflies - fix wrong conditional
This commit is contained in:
parent
e0e3d6daaf
commit
9ac8666ea8
@ -58,7 +58,7 @@ minetest.register_tool("fireflies:bug_net", {
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
if not m_cre then
|
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)
|
itemstack:add_wear(256)
|
||||||
return itemstack
|
return itemstack
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user