fix typo
authorRealBadAngel <mk@realbadangel.pl>
Fri, 25 Oct 2013 17:45:06 +0000 (19:45 +0200)
committerRealBadAngel <mk@realbadangel.pl>
Fri, 25 Oct 2013 17:45:06 +0000 (19:45 +0200)
technic/tools/chainsaw.lua

index 833f830ca79d3cd22f26799b3818defec427aba4..3f4e1fe4a375bc7ec00f51ab281fca4433785e0a 100644 (file)
@@ -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