From e86b9e49f3e9af3d42487f899d4221900b6f779d Mon Sep 17 00:00:00 2001 From: Zughy <4279489-marco_a@users.noreply.gitlab.com> Date: Mon, 21 Feb 2022 23:57:12 +0100 Subject: [PATCH] DOCS: remove internal function --- DOCS.md | 1 - api.lua | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) 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