summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mining_drill.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/mining_drill.lua b/mining_drill.lua
index 78c11a4..305ef59 100644
--- a/mining_drill.lua
+++ b/mining_drill.lua
@@ -9,7 +9,6 @@ minetest.register_tool("technic:mining_drill", {
item=itemstack:to_table()
local charge=tonumber((item["wear"]))
if charge ==0 then charge =65535 end
- if charge ==65535 then charge =1 end
charge=get_RE_item_load(charge,laser_mk1_max_charge)
if charge-400>0 then
drill_dig_it(minetest.get_pointed_thing_position(pointed_thing, above),user)