mirror of
https://github.com/minetest-mods/technic.git
synced 2024-12-25 02:10:30 +01:00
Small fix on mining drill
This commit is contained in:
parent
582f94952a
commit
83c211700d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user