mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-11 11:40:29 +00:00
Update VillagerWatcher.java
Moved % 6 to new method :P
This commit is contained in:
parent
ddb76d7488
commit
1198f52bbd
1 changed files with 2 additions and 2 deletions
|
@ -18,11 +18,11 @@ public class VillagerWatcher extends AgeableWatcher {
|
|||
}
|
||||
|
||||
public void setProfession(Profession newProfession) {
|
||||
setProfession(newProfession.getId() % 6);
|
||||
setProfession(newProfession.getId());
|
||||
}
|
||||
|
||||
public void setProfession(int professionId){
|
||||
setValue(16, professionId);
|
||||
setValue(16, professionId % 6);
|
||||
sendData(16);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue