This commit is contained in:
RealBadAngel 2013-10-25 19:45:06 +02:00
parent 808d382867
commit 2a54e00677

@ -18,7 +18,7 @@ minetest.register_tool("technic:chainsaw", {
return
end
-- Send current charge to digging function so that the chainsaw will stop after digging a number of nodes.
if mata.charge < chainsaw_charge_per_node then
if meta.charge < chainsaw_charge_per_node then
return
end