SkinChangerMod

SkinChangerMod

4.2k Downloads

Incorrect player comparisons within the config

boomboompower opened this issue ยท 0 comments

commented

These should be converted to an alternative method, similarly profile.getId() == getMinecraft().getSession().getProfile().getId() does not work. This is an unintended issue.

return (this.mod.getConfigurationHandler().isEveryoneMe() || profile.getId() == getMinecraft().getSession().getProfile().getId()) ? this.playerSkin : null;

return (this.mod.getConfigurationHandler().isEveryoneMe() || profile.getId() == getMinecraft().getSession().getProfile().getId()) ? this.playerCape : null;

return (this.mod.getConfigurationHandler().isEveryoneMe() || profile.getId() == getMinecraft().getSession().getProfile().getId()) ? this.skinType : null;