Make sure there is no errors if someone calls setSkin on 1.6 or earlier
This commit is contained in:
parent
0eba652926
commit
b9244866fd
@ -143,6 +143,8 @@ public class PlayerDisguise extends TargetedDisguise {
|
||||
|
||||
@Deprecated
|
||||
public PlayerDisguise setSkin(String skinToUse) {
|
||||
if (LibVersion.is1_6())
|
||||
return this;
|
||||
this.skinToUse = skinToUse;
|
||||
if (skinToUse == null) {
|
||||
this.currentLookup = null;
|
||||
|
Loading…
Reference in New Issue
Block a user