mirror of
				https://github.com/luanti-org/minetest_game.git
				synced 2025-11-04 09:15:29 +01:00 
			
		
		
		
	Creative: Do not give creative priv to admin
This commit is contained in:
		
				
					committed by
					
						
						SmallJoker
					
				
			
			
				
	
			
			
			
						parent
						
							b6626f76b5
						
					
				
				
					commit
					12a971660d
				
			@@ -2,7 +2,8 @@ creative = {}
 | 
			
		||||
 | 
			
		||||
minetest.register_privilege("creative", {
 | 
			
		||||
	description = "Allow player to use creative inventory",
 | 
			
		||||
	give_to_singleplayer = false
 | 
			
		||||
	give_to_singleplayer = false,
 | 
			
		||||
	give_to_admin = false
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
local creative_mode_cache = minetest.settings:get_bool("creative_mode")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user