Make createDisguise return nothing
This commit is contained in:
parent
91dbd07f2a
commit
01f7d2b911
@ -55,9 +55,9 @@ public abstract class Disguise {
|
|||||||
@Override
|
@Override
|
||||||
public abstract Disguise clone();
|
public abstract Disguise clone();
|
||||||
|
|
||||||
protected Disguise createDisguise(DisguiseType newType, boolean doSounds) {
|
protected void createDisguise(DisguiseType newType, boolean doSounds) {
|
||||||
if (getWatcher() != null)
|
if (getWatcher() != null)
|
||||||
return this;
|
return;
|
||||||
// Set the disguise type
|
// Set the disguise type
|
||||||
disguiseType = newType;
|
disguiseType = newType;
|
||||||
// Set the option to replace the sounds
|
// Set the option to replace the sounds
|
||||||
@ -269,7 +269,6 @@ public abstract class Disguise {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
return this;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user