Skip to content

Commit

Permalink
Merge pull request #33 from iykHvfIvfR/pr1
Browse files Browse the repository at this point in the history
Fix snitch updating when culling is enabled (2)
  • Loading branch information
MrLittleKitty authored Jun 9, 2017
2 parents 7ad90a4 + 8620c29 commit b999b1f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
*/
public class ChatSnitchParser
{
private static final Pattern jaListPattern = Pattern.compile("\\s*World: (\\S*)\\sLocation: \\[([-\\d]+) ([-\\d]+) ([-\\d]+)\\]\\sHours to cull: ([-\\d]*)\\sGroup: (\\S*)\\sName: (\\S*)\\s*", Pattern.MULTILINE);
private static final Pattern jaListPattern = Pattern.compile("\\s*World: (\\S*)\\sLocation: \\[([-\\d]+) ([-\\d]+) ([-\\d]+)\\]\\sHours to cull: ([-\\d]*\\.[-\\d]*)\\sGroup: (\\S*)\\sName: (\\S*)\\s*", Pattern.MULTILINE);
private static final Pattern snitchAlertPattern = Pattern.compile("\\s*\\*\\s*([^\\s]*)\\s\\b(entered snitch at|logged out in snitch at|logged in to snitch at)\\b\\s*([^\\s]*)\\s\\[([^\\s]*)\\s([-\\d]*)\\s([-\\d]*)\\s([-\\d]*)\\]");

private static final String[] resetSequences = {"Unknown command", " is empty", "You do not own any snitches nearby!"};
Expand Down

0 comments on commit b999b1f

Please sign in to comment.