use notifications instead of chat like tudbut intended

This commit is contained in:
tudbut 2024-05-30 15:46:38 +02:00
parent 42fa368c85
commit b96faa47ba
3 changed files with 5 additions and 4 deletions

View file

@ -119,7 +119,7 @@ public class ChatCrypt extends Feature {
public void onEnable() {
if(password.isEmpty() || password.equalsIgnoreCase("CLICK HERE")) {
toggle();
ChatUtil.print("[ChatCrypt] Set a Password first! (set ID Password)");
BaseBand.notify("[ChatCrypt] Set a Password first! (set ID Password)");
}
}

View file

@ -1,5 +1,6 @@
package com.baseband.client.module.chat;
import com.baseband.client.BaseBand;
import com.baseband.client.configuration.annotation.Config;
import com.baseband.client.util.misc.Description;
import com.baseband.client.configuration.annotation.Gate;
@ -62,7 +63,7 @@ public class ChatExtras extends Feature {
chatLines.remove(i--);
}
mc.ingameGUI.getChatGUI().refreshChat();
ChatUtil.print("Cleared chat of DMs");
BaseBand.notify("Cleared chat of DMs");
}

View file

@ -1,6 +1,6 @@
package com.baseband.client.util.net;
import com.baseband.client.util.interact.ChatUtil;
import com.baseband.client.BaseBand;
import com.google.gson.JsonElement;
import com.google.gson.JsonParser;
import net.minecraft.client.Minecraft;
@ -38,7 +38,7 @@ public class ScreenshotHelper extends Thread {
private static void copyAndPrint(StringSelection stringSelection, String string) {
Clipboard clipboard = Toolkit.getDefaultToolkit().getSystemClipboard();
clipboard.setContents(stringSelection, stringSelection);
ChatUtil.print("Image uploaded to: " + string);
BaseBand.notify("Image uploaded to: " + string);
}
@Override