summaryrefslogtreecommitdiff
path: root/technic/sonic_screwdriver.lua
diff options
context:
space:
mode:
Diffstat (limited to 'technic/sonic_screwdriver.lua')
-rw-r--r--technic/sonic_screwdriver.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/technic/sonic_screwdriver.lua b/technic/sonic_screwdriver.lua
index 1453862..00922f7 100644
--- a/technic/sonic_screwdriver.lua
+++ b/technic/sonic_screwdriver.lua
@@ -38,7 +38,7 @@ minetest.register_tool("technic:sonic_screwdriver", {
charge=charge-100;
meta1["charge"]=charge
item["metadata"]=set_item_meta(meta1)
- set_RE_wear(item,charge,sonic_screwdriver_max_charge)
+ technic.set_RE_wear(item,charge,sonic_screwdriver_max_charge)
itemstack:replace(item)
end
return itemstack