actually add useChat

This commit is contained in:
ChomeNS
2023-04-08 12:36:15 +07:00
parent aa55137f36
commit c7c34f4c5d
5 changed files with 61 additions and 24 deletions

View File

@@ -25,6 +25,7 @@ public class Bot {
private final String _username;
@Getter private final boolean kaboom;
@Getter private final String serverName;
@Getter private final boolean useChat;
@Getter private final List<Bot> allBots;
@Getter private final Configuration config;
@@ -60,12 +61,13 @@ public class Bot {
@Getter private CloopPlugin cloop;
@Getter private MazePlugin maze;
public Bot (String host, int port, String _username, boolean kaboom, String serverName, List<Bot> allBots, Configuration config) {
public Bot (String host, int port, String _username, boolean kaboom, String serverName, boolean useChat, List<Bot> allBots, Configuration config) {
this.host = host;
this.port = port;
this._username = _username;
this.kaboom = kaboom;
this.serverName = serverName;
this.useChat = useChat;
this.allBots = allBots;
this.config = config;