daily pastebin goal
60%
SHARE
TWEET

Untitled

a guest Oct 8th, 2018 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. travelnet.check_if_trying_to_dig = function(puncher, node)
  2.  
  3.     if not puncher then return false end
  4.  
  5.     local tool_caps = puncher:get_wielded_item():get_tool_capabilities()
  6.  
  7.     if not tool_caps then return false end
  8.  
  9.     if tool_caps["groupcaps"] and tool_caps["groupcaps"]["cracky"] then
  10.         return true
  11.     end
  12.  
  13.     return false
  14. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top