Tiny code cleanup

This commit is contained in:
Andrew 2013-11-12 17:46:24 +13:00
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);
} }