Fix player disguises

This commit is contained in:
libraryaddict 2017-04-26 23:12:43 +12:00
parent a36a511a30
commit d3f6b6e68c
2 changed files with 2 additions and 5 deletions

View File

@ -237,10 +237,7 @@ public class PlayerDisguise extends TargetedDisguise {
@Override
public boolean startDisguise() {
if (isDisguiseInUse() || skinToUse == null)
return super.startDisguise();
if (getGameProfile() == null) {
if (!isDisguiseInUse() && skinToUse != null && gameProfile == null) {
currentLookup = new LibsProfileLookup() {
@Override
public void onLookup(WrappedGameProfile gameProfile) {