minor bug fixed

master
Joachim Stolberg 2018-05-30 22:48:13 +02:00
parent 8e5af36324
commit 8b50942cde
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ local function add_steps(pos, digger)
end
end
local function on_punch(pos, node, puncher)
local function on_punch(pos, node, puncher, pointed_thing)
if chopper_tool(puncher) and node.param1 == 0 then -- grown tree?
if not minetest.is_protected(pos, puncher:get_player_name()) then
add_steps(pos, puncher)