Merge pull request #471 from apuly/patch-1

Fixed bug with setting villager level (possibly)
This commit is contained in:
libraryaddict
2020-05-27 09:00:05 +12:00
committed by GitHub

View File

@@ -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));
}
}