summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--technic/tools/chainsaw.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/technic/tools/chainsaw.lua b/technic/tools/chainsaw.lua
index 833f830..3f4e1fe 100644
--- a/technic/tools/chainsaw.lua
+++ b/technic/tools/chainsaw.lua
@@ -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