TypeError: instantiate on org.bukkit.entity.Villager failed due to: Message not supported.
matvejs16 opened this issue ยท 0 comments
Got some strange error while trying to create Villager.
const Villager = core.type('org.bukkit.entity.Villager');
const VillagerProffesion = core.type('org.bukkit.entity.Villager.Profession');
const VillagerType = core.type('org.bukkit.entity.Villager.Type');
const newVillager = new Villager(VillagerProffesion.NONE, VillagerType.SNOW);