fireflies - fix wrong conditional

stable-5.2
mckaygerhard 2023-06-18 04:37:27 -04:00
parent f4577ce506
commit 04c077e570
1 changed files with 1 additions and 1 deletions

View File

@ -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