Refactor code structure for improved readability and maintainability

This commit is contained in:
Torsten Brendgen
2026-04-28 23:09:04 +02:00
parent cf78405148
commit f97b7556cd
16 changed files with 1841 additions and 9 deletions

View File

@@ -1037,5 +1037,10 @@ function HMGT:OnCommReceived(prefix, message, distribution, sender)
tonumber(duration)
)
end
elseif msgType == HMGT.MSG_LURA_RUNES then
local payload = message:match("^%a+|(.+)$") or ""
if HMGT.EncounterAlerts and HMGT.EncounterAlerts.HandleLuraRunesComm then
HMGT.EncounterAlerts:HandleLuraRunesComm(senderName, payload)
end
end
end