mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-12-16 15:38:14 +01:00
Tiny code cleanup
This commit is contained in:
parent
78bc04a4b4
commit
f02d212c9b
@ -65,9 +65,7 @@ public abstract class Disguise {
|
||||
// Get if they are a adult now..
|
||||
boolean isBaby = false;
|
||||
if (this instanceof MobDisguise) {
|
||||
if (!((MobDisguise) this).isAdult()) {
|
||||
isBaby = true;
|
||||
}
|
||||
isBaby = !((MobDisguise) this).isAdult();
|
||||
}
|
||||
try {
|
||||
// Construct the FlagWatcher from the stored class
|
||||
|
@ -30,12 +30,12 @@ public class HorseWatcher extends AgeableWatcher {
|
||||
return isTrue(8);
|
||||
}
|
||||
|
||||
public boolean isBreedable() {
|
||||
@Deprecated
|
||||
public boolean isBredable() {
|
||||
return isTrue(16);
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public boolean isBredable() {
|
||||
public boolean isBreedable() {
|
||||
return isTrue(16);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user