Add race and faction to "moved to"

This commit is contained in:
2024-12-15 21:00:17 +01:00
parent 0e771a7db3
commit 30578bdbb0

View File

@@ -177,9 +177,11 @@ function data.Whoer.Init()
and not data.config.who.zoneNotifyFor[player.zone] then and not data.config.who.zoneNotifyFor[player.zone] then
return string.format("Not notifying for zones %s and %s", tostring(zone), tostring(player.zone)) return string.format("Not notifying for zones %s and %s", tostring(zone), tostring(player.zone))
end end
local text = string.format("%s of class %s and guild %s moved to %s", local text = string.format("%s of class %s (%s - %s) and guild %s moved to %s",
player.name, player.name,
player.class, player.class,
player.race,
data.raceMap[player.race] or "Unknown",
player.guild, player.guild,
zone) zone)