Fixed bug with setting villager level (possibly)
trying to set the level of a villager currently doesn't seem to work. From a quick glance at the code, I think this might have been the cause
This commit is contained in:
parent
3b34fdf28c
commit
f5ebc0b337
@ -79,6 +79,6 @@ public class VillagerWatcher extends AbstractVillagerWatcher {
|
||||
|
||||
@NmsAddedIn(val = NmsVersion.v1_14)
|
||||
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