i forgor it only works on chipmunk (?)

This commit is contained in:
ChomeNS
2024-10-18 18:25:07 +07:00
parent 7ae30028f8
commit d0c46ee143
3 changed files with 4 additions and 1 deletions

View File

@@ -164,6 +164,7 @@ public class Configuration {
public String serverName;
public boolean useCore = true;
public boolean useChat = false;
public boolean coreCommandSpy = false;
public int reconnectDelay = 2000;
public boolean removeNamespaces = false;
public int chatQueueDelay = 125;

View File

@@ -99,7 +99,7 @@ public class SelfCarePlugin extends Bot.Listener {
// core
else if (selfCares.cspy && !cspy && kaboom) {
if (bot.options.useChat) bot.chat.sendCommandInstantly("/commandspy:commandspy on");
if (bot.options.useChat || !bot.options.coreCommandSpy) bot.chat.sendCommandInstantly("commandspy:commandspy on");
else bot.core.run("commandspy:commandspy " + bot.username + " on");
}