Skip to content

Commit

Permalink
Fix issue Emojigit#1
Browse files Browse the repository at this point in the history
  • Loading branch information
Emojigit authored Aug 15, 2020
1 parent 29f7c64 commit f1ae650
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ minetest.register_tool("technic_grass_clean:grass_cleaner", {
-- chainsaw will stop after digging a number of nodes
meta.charge = chainsaw_dig(pointed_thing.under, meta.charge)
if not technic.creative_mode then
technic.set_RE_wear(itemstack, meta.charge, chainsaw_max_charge)
technic.set_RE_wear(itemstack, meta.charge, grassc_max_charge)
itemstack:set_metadata(minetest.serialize(meta))
end
return itemstack
Expand Down

0 comments on commit f1ae650

Please sign in to comment.