Skip to content

Commit 308746e

Browse files
committed
Fix command parsing logic
1 parent e59f2ab commit 308746e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PvpAlerts_KOS_System.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ function PVP:Who(name, contains)
338338
end
339339

340340
function PVP:managePlayerNote(noteString)
341-
local doFunc, charAccName, accNote = noteString:match("([^ ]+) ([^ ]+)(.*)")
341+
local doFunc, charAccName, accNote = noteString:match("([^ ]+) ([^ ]+)%s*(.*)")
342342
if not doFunc then
343343
doFunc = noteString
344344
end

0 commit comments

Comments
 (0)