anvil: fix can_dig function
This commit is contained in:
parent
cab2825e4c
commit
58876b5f57
@ -107,10 +107,10 @@ minetest.register_node("cottages:anvil", {
|
||||
or not( inv:is_empty("hammer")))
|
||||
-- or not( player )
|
||||
-- or ( owner and owner ~= '' and player:get_player_name() ~= owner ))]] then
|
||||
then
|
||||
return true;
|
||||
--else
|
||||
end
|
||||
then
|
||||
return false;
|
||||
end
|
||||
return true
|
||||
end,
|
||||
-- return true;
|
||||
-- end,
|
||||
|
Loading…
x
Reference in New Issue
Block a user