Remove debug
This commit is contained in:
parent
af886f3af9
commit
5d98747e59
@ -257,7 +257,7 @@ public class PlayerDisguise extends TargetedDisguise {
|
|||||||
try {
|
try {
|
||||||
return setSkin(DisguiseUtilities.getGson().fromJson(newSkin, WrappedGameProfile.class));
|
return setSkin(DisguiseUtilities.getGson().fromJson(newSkin, WrappedGameProfile.class));
|
||||||
}
|
}
|
||||||
catch (Exception ex) {ex.printStackTrace();
|
catch (Exception ex) {
|
||||||
throw new IllegalArgumentException(String.format(
|
throw new IllegalArgumentException(String.format(
|
||||||
"The skin %s is too long to be a playername, but cannot be parsed to a GameProfile!", newSkin));
|
"The skin %s is too long to be a playername, but cannot be parsed to a GameProfile!", newSkin));
|
||||||
}
|
}
|
||||||
@ -296,9 +296,6 @@ public class PlayerDisguise extends TargetedDisguise {
|
|||||||
|
|
||||||
this.skinToUse = gameProfile.getName();
|
this.skinToUse = gameProfile.getName();
|
||||||
this.gameProfile = ReflectionManager.getGameProfileWithThisSkin(uuid, getName(), gameProfile);
|
this.gameProfile = ReflectionManager.getGameProfileWithThisSkin(uuid, getName(), gameProfile);
|
||||||
System.out.println(
|
|
||||||
new GsonBuilder().registerTypeAdapter(WrappedGameProfile.class, new SerializerGameProfile()).create()
|
|
||||||
.toJson(gameProfile));
|
|
||||||
|
|
||||||
if (DisguiseUtilities.isDisguiseInUse(this)) {
|
if (DisguiseUtilities.isDisguiseInUse(this)) {
|
||||||
if (isDisplayedInTab()) {
|
if (isDisplayedInTab()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user