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());
|
||||||
sendData(16);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void setProfession(int professionId){
|
||||||
|
setValue(16, professionId % 6);
|
||||||
|
sendData(16);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user