fix typo
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>
Sat, 26 Oct 2013 11:14:35 +0000 (07:14 -0400)
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>
Sat, 26 Oct 2013 11:14:35 +0000 (07:14 -0400)
technic/tools/chainsaw.lua

index 3f4e1fe4a375bc7ec00f51ab281fca4433785e0a..32134de4f1d7372d5b23b80744e180428edf894a 100644 (file)
@@ -23,7 +23,7 @@ minetest.register_tool("technic:chainsaw", {
                end
 
                local pos = minetest.get_pointed_thing_position(pointed_thing, above)
-               meta.charge = chainsaw_dig_it(pos, user, mata.charge)
+               meta.charge = chainsaw_dig_it(pos, user, meta.charge)
                technic.set_RE_wear(itemstack, meta.charge, chainsaw_max_charge)
                itemstack:set_metadata(set_item_meta(meta))
                return itemstack