Compare commits
2 Commits
1.3.2-beta
...
v1.3.3-bet
Author | SHA1 | Date | |
---|---|---|---|
b6baa9ad6f | |||
c2f12a1a49 |
@ -529,11 +529,11 @@ public class Server {
|
||||
private String getPlayer(String text, boolean joined) {
|
||||
String playerName;
|
||||
|
||||
String loginPattern1 = " ([A-Z0-9a-z]+)\\[/[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+:[0-9]+] logged in";
|
||||
String loginPattern2 = "UUID of player ([A-Z0-9a-z]+) is";
|
||||
String loginPattern1 = " ([A-Z0-9a-z_]+)\\[/[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+:[0-9]+] logged in";
|
||||
String loginPattern2 = "UUID of player ([A-Z0-9a-z_]+) is";
|
||||
|
||||
String logoutPattern1 = "INFO]: ([A-Z0-9a-z]+) lost connection";
|
||||
String logoutPattern2 = " ([A-Z0-9a-z]+) left the game";
|
||||
String logoutPattern1 = "INFO]: ([A-Z0-9a-z_]+) lost connection";
|
||||
String logoutPattern2 = " ([A-Z0-9a-z_]+) left the game";
|
||||
|
||||
if (joined) {
|
||||
playerName = getFirstRegexCaptureGroup(loginPattern1, text);
|
||||
|
@ -1,2 +1,2 @@
|
||||
beta
|
||||
1.3.2
|
||||
1.3.3
|
|
Reference in New Issue
Block a user