Guest User

Untitled

a guest
Apr 29th, 2013
43
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. minetest.register_tool(":default:c1",{})
  2. minetest.register_tool(":default:c2",{})
  3.  
  4. if creative_type==search then
  5.     minetest.register_alias("default:c1", ":")
  6. elseif creative_type==find then
  7.     minetest.register_alias("default:c2", ":")
  8. elseif creative_type==nil then
  9.     minetest.register_alias(":", ":")
  10. end
RAW Paste Data