forked from ChomeNS/chomens-bot-java
or maybe another fixies idk
This commit is contained in:
parent
8983dd2800
commit
12e4087f26
2 changed files with 2 additions and 1 deletions
|
@ -52,6 +52,7 @@ public class GrepLogCommand extends Command {
|
|||
if (thread == null) throw new CommandException(Component.text("There is no query process running"));
|
||||
|
||||
bot.grepLog.running = false;
|
||||
bot.grepLog.pattern = null;
|
||||
|
||||
thread.interrupt(); // ? should i interrupt it this way?
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ import java.util.zip.GZIPInputStream;
|
|||
public class GrepLogPlugin {
|
||||
private final Bot bot;
|
||||
|
||||
private Pattern pattern;
|
||||
public Pattern pattern;
|
||||
|
||||
private int count = 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue