mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-12 03:57:03 +00:00
Tiny code cleanup
This commit is contained in:
parent
78bc04a4b4
commit
f02d212c9b
2 changed files with 4 additions and 6 deletions
|
@ -65,9 +65,7 @@ public abstract class Disguise {
|
||||||
// Get if they are a adult now..
|
// Get if they are a adult now..
|
||||||
boolean isBaby = false;
|
boolean isBaby = false;
|
||||||
if (this instanceof MobDisguise) {
|
if (this instanceof MobDisguise) {
|
||||||
if (!((MobDisguise) this).isAdult()) {
|
isBaby = !((MobDisguise) this).isAdult();
|
||||||
isBaby = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
// Construct the FlagWatcher from the stored class
|
// Construct the FlagWatcher from the stored class
|
||||||
|
|
|
@ -30,12 +30,12 @@ public class HorseWatcher extends AgeableWatcher {
|
||||||
return isTrue(8);
|
return isTrue(8);
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isBreedable() {
|
@Deprecated
|
||||||
|
public boolean isBredable() {
|
||||||
return isTrue(16);
|
return isTrue(16);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Deprecated
|
public boolean isBreedable() {
|
||||||
public boolean isBredable() {
|
|
||||||
return isTrue(16);
|
return isTrue(16);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue