Fixed setSkin not working properly
This commit is contained in:
parent
d58c47542e
commit
2c5055924c
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user