mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-11-05 09:09:40 +01:00
Merge pull request #42 from mcat95/patch-1
setProfession with professionID
This commit is contained in:
commit
4038a090d8
@ -18,8 +18,11 @@ public class VillagerWatcher extends AgeableWatcher {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void setProfession(Profession newProfession) {
|
public void setProfession(Profession newProfession) {
|
||||||
setValue(16, newProfession.getId() % 6);
|
setProfession(newProfession.getId());
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setProfession(int professionId){
|
||||||
|
setValue(16, professionId % 6);
|
||||||
sendData(16);
|
sendData(16);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user