mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-12 03:57:03 +00:00
Fix it doing the wrong stuff for baby baby ohhh
This commit is contained in:
parent
f5c48eb264
commit
78bc04a4b4
1 changed files with 6 additions and 6 deletions
|
@ -13,16 +13,16 @@ public class AgeableWatcher extends LivingWatcher {
|
|||
}
|
||||
|
||||
public boolean isBaby() {
|
||||
return (Integer) getValue(12, 0) >= 0;
|
||||
}
|
||||
|
||||
public void setBaby(boolean isBaby) {
|
||||
setValue(12, isBaby ? 0 : -24000);
|
||||
sendData(12);
|
||||
return (Integer) getValue(12, 0) < 0;
|
||||
}
|
||||
|
||||
public void setAdult(boolean isAdult) {
|
||||
setBaby(!isAdult);
|
||||
}
|
||||
|
||||
public void setBaby(boolean isBaby) {
|
||||
setValue(12, isBaby ? -24000 : 0);
|
||||
sendData(12);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue