mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-10-31 07:25:22 +01:00 
			
		
		
		
	Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
		
			
				
	
	
		
			8 lines
		
	
	
		
			150 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			150 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
| function core.setting_get_pos(name)
 | |
| 	local value = core.settings:get(name)
 | |
| 	if not value then
 | |
| 		return nil
 | |
| 	end
 | |
| 	return core.string_to_pos(value)
 | |
| end
 |