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..
|
// 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 New Issue
Block a user