diff options
author | Maciej Kasatkin <mk@realbadangel.pl> | 2012-09-11 18:51:03 +0200 |
---|---|---|
committer | Maciej Kasatkin <mk@realbadangel.pl> | 2012-09-11 18:51:03 +0200 |
commit | 83c211700dec302ad2666560c082f143d0bfde1a (patch) | |
tree | b50ccfc747fae33f9bdd48a960e2aa35977ebc2e | |
parent | 582f94952a706f8d03ecfb7ba79fe84a66c4c871 (diff) |
Small fix on mining drill
-rw-r--r-- | mining_drill.lua | 1 |
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) |