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
commit b1d43dac61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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