Merge pull request #42 from mcat95/patch-1

setProfession with professionID
This commit is contained in:
libraryaddict 2014-07-24 08:02:12 +12:00
commit 4038a090d8

View File

@ -18,8 +18,11 @@ public class VillagerWatcher extends AgeableWatcher {
}
public void setProfession(Profession newProfession) {
setValue(16, newProfession.getId() % 6);
sendData(16);
setProfession(newProfession.getId());
}
public void setProfession(int professionId){
setValue(16, professionId % 6);
sendData(16);
}
}