DOCS: remove internal function

master
Zughy 2022-02-21 23:57:12 +01:00
parent 2a3a22d083
commit e86b9e49f3
2 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,6 @@ On the contrary, to unlock an achievement:
### 2.1 Utils
`achvmt_lib.has_player_achievement(p_name, mod, achvmt_ID)`: check whether a player has unlocked an achievement
`achvmt_lib.is_player_in_storage(p_name, mod)`: check whether a player has connected after a new mod supporting achievements_lib has been added
`achvmt_lib.add_player_to_storage(p_name, mod)`: for internal use only
### 2.2 Getters
`achvmt_lib.get_achievement(mod, achvmt_ID)`: returns the value assigned to the achievement at the corresponding `achvmt_ID`, if any

View File

@ -72,6 +72,7 @@ end
-- INTERNAL USE ONLY
function achvmt_lib.add_player_to_storage(p_name)
if not minetest.get_player_by_name(p_name) then