Merge pull request #471 from apuly/patch-1
Fixed bug with setting villager level (possibly)
This commit is contained in:
commit
b1d43dac61
@ -79,6 +79,6 @@ public class VillagerWatcher extends AbstractVillagerWatcher {
|
|||||||
|
|
||||||
@NmsAddedIn(val = NmsVersion.v1_14)
|
@NmsAddedIn(val = NmsVersion.v1_14)
|
||||||
public void setLevel(int level) {
|
public void setLevel(int level) {
|
||||||
setVillagerData(new VillagerData(getType(), getProfession(), getLevel()));
|
setVillagerData(new VillagerData(getType(), getProfession(), level));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user