mirror of
				https://gitlab.com/rubenwardy/awards.git
				synced 2025-10-31 13:05:22 +01:00 
			
		
		
		
	Tente la correction d'un crash
This commit is contained in:
		| @@ -122,6 +122,9 @@ function awards.unlock(name, award) | ||||
| 		end | ||||
| 	else | ||||
| 		local player = minetest.get_player_by_name(name) | ||||
| 		if not (player and player.is_player and player:is_player()) then | ||||
| 			return | ||||
| 		end | ||||
| 		local one = player:hud_add({ | ||||
| 			hud_elem_type = "image", | ||||
| 			name = "award_bg", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user