mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-22 20:47:59 +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() {
|
||||
synchronized (this) {
|
||||
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