Fix a minor error with the previous commit
This commit is contained in:
parent
0791461629
commit
bb442fb3a5
@ -138,7 +138,7 @@ public class PlayerDisguise extends TargetedDisguise {
|
|||||||
if (gameProfile == null) {
|
if (gameProfile == null) {
|
||||||
this.gameProfile = null;
|
this.gameProfile = null;
|
||||||
this.skinToUse = null;
|
this.skinToUse = null;
|
||||||
return;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
Validate.notEmpty(gameProfile.getName(), "Name must be set");
|
Validate.notEmpty(gameProfile.getName(), "Name must be set");
|
||||||
|
Loading…
Reference in New Issue
Block a user