Skip to content

Commit

Permalink
Allow other screwdrivers to get repaired too
Browse files Browse the repository at this point in the history
  • Loading branch information
Niklp09 committed Mar 16, 2024
1 parent f310cec commit 9bf84e7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -263,10 +263,6 @@ local function anvil_rotate(pos, node, user, mode, new_param2)
local inv = player:get_inventory()
local wielded = inv:get_stack(wield_list, wield_index)

if wielded:get_name() ~= "screwdriver:screwdriver" then
return
end

local node_now = minetest.get_node(pos)
if node_now.name ~= "anvil:anvil" then
return
Expand Down

0 comments on commit 9bf84e7

Please sign in to comment.