Advertisement
Guest User

Untitled

a guest
May 14th, 2020
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.19 KB | None | 0 0
  1. after_use = function(itemstack, user, node, digparams)
  2.     itemstack:add_wear(digparams.wear)
  3.     return itemstack
  4. end
  5.  
  6. minetest.override_item("default:shovel_wood", {after_use = after_use})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement