mirror of
https://github.com/refactorinqq/SLC-1.8.9.git
synced 2024-11-14 05:31:33 +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.scrollY = 0;
|
||||||
CosmeticsGui.selectedCategory = "capes";
|
CosmeticsGui.selectedCategory = "capes";
|
||||||
MenuBlurUtils.loadBlur();
|
MenuBlurUtils.loadBlur();
|
||||||
Client.getInstance().getCosmetics().update(true);
|
Client.getInstance().updateUserInformation();
|
||||||
int categoryOffsetY = 25;
|
int categoryOffsetY = 25;
|
||||||
int addX = 190;
|
int addX = 190;
|
||||||
int addY = 110;
|
int addY = 110;
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
package net.silentclient.client.utils.types;
|
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.Client;
|
||||||
import net.silentclient.client.mixin.ducks.AbstractClientPlayerExt;
|
|
||||||
import net.silentclient.client.utils.Players;
|
import net.silentclient.client.utils.Players;
|
||||||
import net.silentclient.client.utils.Requests;
|
import net.silentclient.client.utils.Requests;
|
||||||
import net.silentclient.client.utils.reply.AbstractReply;
|
import net.silentclient.client.utils.reply.AbstractReply;
|
||||||
@ -152,6 +149,7 @@ public class PlayerResponse extends AbstractReply {
|
|||||||
|
|
||||||
public void setShowNametagMessage(boolean show) {
|
public void setShowNametagMessage(boolean show) {
|
||||||
this.show_nametag_message = show ? 1 : 0;
|
this.show_nametag_message = show ? 1 : 0;
|
||||||
|
Players.reload();
|
||||||
Players.handleAccount(this);
|
Players.handleAccount(this);
|
||||||
(new Thread("setShowNametagMessage") {
|
(new Thread("setShowNametagMessage") {
|
||||||
public void run() {
|
public void run() {
|
||||||
@ -163,6 +161,7 @@ public class PlayerResponse extends AbstractReply {
|
|||||||
|
|
||||||
public void setNametagMessage(String message) {
|
public void setNametagMessage(String message) {
|
||||||
this.nametag_message = message;
|
this.nametag_message = message;
|
||||||
|
Players.reload();
|
||||||
Players.handleAccount(this);
|
Players.handleAccount(this);
|
||||||
(new Thread("setShowNametagMessage") {
|
(new Thread("setShowNametagMessage") {
|
||||||
public void run() {
|
public void run() {
|
||||||
@ -178,10 +177,7 @@ public class PlayerResponse extends AbstractReply {
|
|||||||
|
|
||||||
public void setCapeShoulders(boolean shoulders) {
|
public void setCapeShoulders(boolean shoulders) {
|
||||||
this.cape_shoulders = shoulders ? 1 : 0;
|
this.cape_shoulders = shoulders ? 1 : 0;
|
||||||
Players.reload();
|
Players.handleAccount(this);
|
||||||
if(Minecraft.getMinecraft().thePlayer != null) {
|
|
||||||
Players.getPlayerStatus(false, ((AbstractClientPlayerExt) Minecraft.getMinecraft().thePlayer).silent$getNameClear(), EntityPlayer.getUUID(Minecraft.getMinecraft().thePlayer.getGameProfile()), Minecraft.getMinecraft().thePlayer);
|
|
||||||
}
|
|
||||||
(new Thread("setShoulders") {
|
(new Thread("setShoulders") {
|
||||||
public void run() {
|
public void run() {
|
||||||
Requests.post("https://api.silentclient.net/account/set_cape_shoulders", new JSONObject().put("enabled", shoulders).toString());
|
Requests.post("https://api.silentclient.net/account/set_cape_shoulders", new JSONObject().put("enabled", shoulders).toString());
|
||||||
|
Loading…
Reference in New Issue
Block a user