mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-28 18:36:01 +00:00
api: use dynamic shortcut for string.gfind
This commit is contained in:
+1
-1
@@ -858,7 +858,7 @@ pfUI:RegisterModule("chat", function ()
|
||||
-- display class colors if already indexed
|
||||
if C.chat.text.classcolor == "1" then
|
||||
|
||||
for name in string.gfind(text, "|Hplayer:(.-)|h") do
|
||||
for name in gfind(text, "|Hplayer:(.-)|h") do
|
||||
local color = unknowncolorhex
|
||||
local match = false
|
||||
-- search player in database
|
||||
|
||||
Reference in New Issue
Block a user