mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2025-02-17 01:54:22 +01:00
Fix warnings when reloading vanilla client skin.
This commit is contained in:
parent
a022d3758a
commit
dfcae69ab7
1 changed files with 4 additions and 0 deletions
|
@ -96,6 +96,10 @@ public abstract class MixinNetworkPlayerInfo implements INetworkPlayerInfo {
|
||||||
public void reloadTextures() {
|
public void reloadTextures() {
|
||||||
synchronized (this) {
|
synchronized (this) {
|
||||||
this.playerTexturesLoaded = false;
|
this.playerTexturesLoaded = false;
|
||||||
|
if (this.gameProfile.getId().equals(Minecraft.getMinecraft().getSession().getProfile().getId())) {
|
||||||
|
// local client skin doesn't have a signature.
|
||||||
|
this.gameProfile.getProperties().removeAll("textures");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue