CitizensDev / Citizens2

Citizens - the premier plugin and API for creating server-side NPCs in Minecraft.
https://citizensnpcs.co
Open Software License 3.0
604 stars 317 forks source link

Added Auto Completion for Cat Types #3143

Closed beanbeanjuice closed 3 months ago

beanbeanjuice commented 3 months ago

In the new versions, there was no auto-complete for the cat types. The command still worked, there were just no suggestions popping up when editing the cat.

/npc cat --type (TYPE) now correctly displays the auto-complete types.

CLAassistant commented 3 months ago

CLA assistant check
All committers have signed the CLA.

mcmonkey4eva commented 3 months ago

This is probably a side effect of the interfacification changes? which needs core feature improvements to support the new interface format pseudo-enum in spigot, rather than something to just manually hack

fullwall commented 3 months ago

Excellent PR which would be correct, but we can determine the Keyed possibilities at runtime - I have made the more general change in https://github.com/CitizensDev/CitizensAPI/commit/0b4cb689da9f700acc78d6b23f9d250094a744ee