mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-12-15 15:28:36 +01:00
Update VillagerWatcher.java
Moved % 6 to new method :P
This commit is contained in:
parent
ddb76d7488
commit
1198f52bbd
@ -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 New Issue
Block a user