Skip to content

Commit

Permalink
remove EasyMC from account manager because they shut down
Browse files Browse the repository at this point in the history
  • Loading branch information
Wide-Cat committed Sep 5, 2024
1 parent 29d8d01 commit bddc37d
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 145 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ public AccountInfoScreen(GuiTheme theme, Account<?> account) {
public void initWidgets() {
TokenAccount e = (TokenAccount) account;
WHorizontalList l = add(theme.horizontalList()).expandX().widget();

WButton copy = theme.button("Copy");
copy.action = () -> mc.keyboard.setClipboard(e.getToken());
l.add(theme.label((account.getType() == AccountType.EasyMC ? "EasyMC" : "TheAltening") + " token"));

l.add(theme.label("TheAltening token:"));
l.add(theme.label(e.getToken()).color(Color.GRAY)).pad(5);
l.add(copy);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ public void initWidgets() {

addButton(l, "Cracked", () -> mc.setScreen(new AddCrackedAccountScreen(theme, this)));
addButton(l, "Altening", () -> mc.setScreen(new AddAlteningAccountScreen(theme, this)));
addButton(l, "EasyMC", () -> mc.setScreen(new AddEasyMCAccountScreen(theme, this)));
addButton(l, "Microsoft", () -> mc.setScreen(new AddMicrosoftAccountScreen(theme, this)));
}

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@
public enum AccountType {
Cracked,
Microsoft,
TheAltening,
EasyMC
TheAltening
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import meteordevelopment.meteorclient.systems.System;
import meteordevelopment.meteorclient.systems.Systems;
import meteordevelopment.meteorclient.systems.accounts.types.CrackedAccount;
import meteordevelopment.meteorclient.systems.accounts.types.EasyMCAccount;
import meteordevelopment.meteorclient.systems.accounts.types.MicrosoftAccount;
import meteordevelopment.meteorclient.systems.accounts.types.TheAlteningAccount;
import meteordevelopment.meteorclient.utils.misc.NbtException;
Expand Down Expand Up @@ -78,7 +77,6 @@ public Accounts fromTag(NbtCompound tag) {
case Cracked -> new CrackedAccount(null).fromTag(t);
case Microsoft -> new MicrosoftAccount(null).fromTag(t);
case TheAltening -> new TheAlteningAccount(null).fromTag(t);
case EasyMC -> new EasyMCAccount(null).fromTag(t);
};

if (account.fetchInfo()) return account;
Expand Down

This file was deleted.

0 comments on commit bddc37d

Please sign in to comment.