Fixed user metric computation for Minetest.

This commit is contained in:
Christian P. MOMON 2022-02-26 17:00:51 +01:00
parent c267d2637a
commit 8aa0a2e84b

View file

@ -122,9 +122,17 @@ public class MinetestLog
result = matcher.group("nickname"); result = matcher.group("nickname");
} }
else else
{
matcher = JOIN_PATTERN.matcher(this.message);
if (matcher.matches())
{
result = matcher.group("nickname");
}
else
{ {
result = null; result = null;
} }
}
// //
return result; return result;