mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-11-04 08:59:47 +01:00
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)
|
||||
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