From 2514df348315eb24c101da1052df9c02ada7106a Mon Sep 17 00:00:00 2001 From: Elson Costa Date: Tue, 2 Apr 2024 17:47:28 -0300 Subject: [PATCH] fix typos. --- data/scripts/talkactions/gm/afk.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/data/scripts/talkactions/gm/afk.lua b/data/scripts/talkactions/gm/afk.lua index de10845191d..a01a324195a 100644 --- a/data/scripts/talkactions/gm/afk.lua +++ b/data/scripts/talkactions/gm/afk.lua @@ -21,7 +21,7 @@ function afk.onSay(player, words, param) local isAfk = checkIsAFK(id) if param == "on" then if isAfk.afk then - player:sendCancelMessage("You already is AFK!") + player:sendCancelMessage("You are already AFK!") return true end @@ -75,6 +75,7 @@ function callback.playerOnWalk(player, creature, creaturePos, toPos) local isAfk = checkIsAFK(player:getId()) if isAfk.afk then table.remove(playersAFKs, isAfk.index) + player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "You are no longer AFK!") end return true end