forked from luanti-org/minetest_game
		
	Sethome: Don't auto-grant home priv to singleplayer
This commit is contained in:
		| @@ -58,7 +58,10 @@ sethome.go = function(name) | ||||
| 	return false | ||||
| end | ||||
|  | ||||
| minetest.register_privilege("home", "Can use /sethome and /home") | ||||
| minetest.register_privilege("home", { | ||||
| 	description = "Can use /sethome and /home", | ||||
| 	give_to_singleplayer = false | ||||
| }) | ||||
|  | ||||
| minetest.register_chatcommand("home", { | ||||
| 	description = "Teleport you to your home point", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user