Fixed setSkin not working properly

This commit is contained in:
libraryaddict 2016-12-01 14:34:34 +13:00
parent d58c47542e
commit 2c5055924c

View File

@ -240,7 +240,7 @@ public class PlayerDisguise extends TargetedDisguise {
public PlayerDisguise setSkin(String newSkin) {
if (newSkin != null && newSkin.length() > 50) {
try {
setSkin(ReflectionManager.parseGameProfile(newSkin));
return setSkin(ReflectionManager.parseGameProfile(newSkin));
}
catch (Exception ex) {
throw new IllegalArgumentException(