diff --git a/DOCS.md b/DOCS.md index 8641730..8de58df 100644 --- a/DOCS.md +++ b/DOCS.md @@ -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 diff --git a/api.lua b/api.lua index f20d0f4..ed27829 100644 --- a/api.lua +++ b/api.lua @@ -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