Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- in node def
- on_dug = function(pos)
- minetest.env:remove_node(pos)
- if playerdata[pname]['gamemode'] == "Creative" then
- return nil
- else
- return "node:name"
- end
- end,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement