Fix a minor error with the previous commit

This commit is contained in:
libraryaddict 2014-07-11 16:37:53 +12:00
parent 0791461629
commit bb442fb3a5

@ -138,7 +138,7 @@ public class PlayerDisguise extends TargetedDisguise {
if (gameProfile == null) {
this.gameProfile = null;
this.skinToUse = null;
return;
return this;
}
Validate.notEmpty(gameProfile.getName(), "Name must be set");