This commit is contained in:
kirillsaint 2023-12-31 12:59:12 +06:00
parent 261ad63308
commit 635fa2ec83
4 changed files with 7 additions and 3 deletions

View File

@ -1,7 +1,10 @@
package net.silentclient.client.cosmetics; package net.silentclient.client.cosmetics;
import net.minecraft.client.Minecraft; import net.minecraft.client.Minecraft;
import net.minecraft.entity.player.EntityPlayer;
import net.silentclient.client.Client; import net.silentclient.client.Client;
import net.silentclient.client.mixin.ducks.AbstractClientPlayerExt;
import net.silentclient.client.utils.Players;
import net.silentclient.client.utils.Requests; import net.silentclient.client.utils.Requests;
import java.io.*; import java.io.*;
@ -68,6 +71,10 @@ public class Outfits {
Client.logger.info("Loading Outfit: " + outfit.name); Client.logger.info("Loading Outfit: " + outfit.name);
Requests.post("https://api.silentclient.net/account/load_outfit", Client.getInstance().getGson().toJson(outfit)); Requests.post("https://api.silentclient.net/account/load_outfit", Client.getInstance().getGson().toJson(outfit));
Client.getInstance().updateUserInformation(); Client.getInstance().updateUserInformation();
Players.reload();
if(Minecraft.getMinecraft().thePlayer != null) {
Players.getPlayerStatus(false, ((AbstractClientPlayerExt) Minecraft.getMinecraft().thePlayer).silent$getNameClear(), EntityPlayer.getUUID(Minecraft.getMinecraft().thePlayer.getGameProfile()), Minecraft.getMinecraft().thePlayer);
}
} }
public static ArrayList<Outfit> getOutfits() { public static ArrayList<Outfit> getOutfits() {

View File

@ -30,7 +30,6 @@ public class KeystrokesMod extends ModDraggable {
@Override @Override
public void setup() { public void setup() {
this.addSliderSetting("Scale", this, 2.20F, 1.0F, 5.0F, false); this.addSliderSetting("Scale", this, 2.20F, 1.0F, 5.0F, false);
setUpdated(true);
ArrayList<String> cpsModes = new ArrayList<>(); ArrayList<String> cpsModes = new ArrayList<>();
cpsModes.add("None"); cpsModes.add("None");
cpsModes.add("Small"); cpsModes.add("Small");

View File

@ -30,7 +30,6 @@ public class QuickPlayMod extends Mod {
@Override @Override
public void setup() { public void setup() {
super.setup(); super.setup();
setNewMod(true);
this.addKeybindSetting("Open Menu", this, Keyboard.KEY_MINUS); this.addKeybindSetting("Open Menu", this, Keyboard.KEY_MINUS);
initHypixelModes(); initHypixelModes();
initRuHypixelModes(); initRuHypixelModes();

View File

@ -12,7 +12,6 @@ public class AnimationsMod extends Mod {
@Override @Override
public void setup() { public void setup() {
setUpdated(true);
this.addBooleanSetting("1.7 Item Positions", this, true); this.addBooleanSetting("1.7 Item Positions", this, true);
this.addBooleanSetting("1.7 Bow Pullback", this, true); this.addBooleanSetting("1.7 Bow Pullback", this, true);
this.addBooleanSetting("1.7 Block Animation", this, true); this.addBooleanSetting("1.7 Block Animation", this, true);