Change setSkin on playerDisguise slightly
This commit is contained in:
		| @@ -143,17 +143,15 @@ public class PlayerDisguise extends TargetedDisguise { | |||||||
|  |  | ||||||
|     @Deprecated |     @Deprecated | ||||||
|     public PlayerDisguise setSkin(String skinToUse) { |     public PlayerDisguise setSkin(String skinToUse) { | ||||||
|         if (LibVersion.is1_6()) |         if (LibVersion.is1_7_6()) { | ||||||
|             return this; |             this.skinToUse = skinToUse; | ||||||
|         this.skinToUse = skinToUse; |             if (skinToUse == null) { | ||||||
|         if (skinToUse == null) { |                 this.currentLookup = null; | ||||||
|             this.currentLookup = null; |                 this.gameProfile = null; | ||||||
|             this.gameProfile = null; |             } else { | ||||||
|         } else { |                 if (skinToUse.length() > 16) { | ||||||
|             if (skinToUse.length() > 16) { |                     this.skinToUse = skinToUse.substring(0, 16); | ||||||
|                 this.skinToUse = skinToUse.substring(0, 16); |                 } | ||||||
|             } |  | ||||||
|             if (LibVersion.is1_7_6()) { |  | ||||||
|                 currentLookup = new LibsProfileLookup() { |                 currentLookup = new LibsProfileLookup() { | ||||||
|  |  | ||||||
|                     @Override |                     @Override | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user