Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

( Patch for #1509 ) support zombie villagers in the villager profession trait #1510

Merged
merged 1 commit into from
Jun 7, 2018
Merged

( Patch for #1509 ) support zombie villagers in the villager profession trait #1510

merged 1 commit into from
Jun 7, 2018

Conversation

Serializator
Copy link
Contributor

Because the Zombie Villager does not inherit from the Villager entity, and the Villager profession trait in Citizens2 only checks the Villager interface and only uses Villager#setProfession(Profession) to set the profession of a Villager NPC it does not support the Zombie Villager entity.

I added support for the Zombie Villager entity by allowing the /npc profession|prof [profession] command to be used on the Zombie Villager type and added separate checks in the profession trait for villagers to support the Zombie Villager entity.

@fullwall fullwall merged commit 4ae8a19 into CitizensDev:master Jun 7, 2018
@Serializator Serializator deleted the bugfix/zombie-villager-profession branch June 7, 2018 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants