From bb442fb3a5b290999c4f348afec95236b7401bfe Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Fri, 11 Jul 2014 16:37:53 +1200 Subject: [PATCH] Fix a minor error with the previous commit --- src/me/libraryaddict/disguise/disguisetypes/PlayerDisguise.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/me/libraryaddict/disguise/disguisetypes/PlayerDisguise.java b/src/me/libraryaddict/disguise/disguisetypes/PlayerDisguise.java index 2e61cdc5..b41bba26 100644 --- a/src/me/libraryaddict/disguise/disguisetypes/PlayerDisguise.java +++ b/src/me/libraryaddict/disguise/disguisetypes/PlayerDisguise.java @@ -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");