mirror of
https://github.com/refactorinqq/SLC-1.8.9.git
synced 2024-11-10 06:31:32 +01:00
fix
This commit is contained in:
parent
afeb9e3e6d
commit
b668956d89
@ -50,7 +50,7 @@ public class CosmeticsGui extends SilentScreen {
|
||||
CosmeticsGui.scrollY = 0;
|
||||
CosmeticsGui.selectedCategory = "capes";
|
||||
MenuBlurUtils.loadBlur();
|
||||
Client.getInstance().getCosmetics().update(true);
|
||||
Client.getInstance().updateUserInformation();
|
||||
int categoryOffsetY = 25;
|
||||
int addX = 190;
|
||||
int addY = 110;
|
||||
|
@ -1,9 +1,6 @@
|
||||
package net.silentclient.client.utils.types;
|
||||
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
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.reply.AbstractReply;
|
||||
@ -152,6 +149,7 @@ public class PlayerResponse extends AbstractReply {
|
||||
|
||||
public void setShowNametagMessage(boolean show) {
|
||||
this.show_nametag_message = show ? 1 : 0;
|
||||
Players.reload();
|
||||
Players.handleAccount(this);
|
||||
(new Thread("setShowNametagMessage") {
|
||||
public void run() {
|
||||
@ -163,6 +161,7 @@ public class PlayerResponse extends AbstractReply {
|
||||
|
||||
public void setNametagMessage(String message) {
|
||||
this.nametag_message = message;
|
||||
Players.reload();
|
||||
Players.handleAccount(this);
|
||||
(new Thread("setShowNametagMessage") {
|
||||
public void run() {
|
||||
@ -178,10 +177,7 @@ public class PlayerResponse extends AbstractReply {
|
||||
|
||||
public void setCapeShoulders(boolean shoulders) {
|
||||
this.cape_shoulders = shoulders ? 1 : 0;
|
||||
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);
|
||||
}
|
||||
Players.handleAccount(this);
|
||||
(new Thread("setShoulders") {
|
||||
public void run() {
|
||||
Requests.post("https://api.silentclient.net/account/set_cape_shoulders", new JSONObject().put("enabled", shoulders).toString());
|
||||
|
Loading…
Reference in New Issue
Block a user