-
Notifications
You must be signed in to change notification settings - Fork 141
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
Command enum type does not show up #623
Comments
Just to clarify, the suffix doesn't change the parameter type. It allows something like this: |
And, as you mentioned, the type from Type() not showing up is also an issue. |
After some investigating:
|
I think a solution to this would be to make all enums normal enums by default, and only mark them as a dynamic enum if a change was detected. In this case, we could send an AvailableCommands packet to replace the commands in question and change the normal enum to a dynamic enum client-side. |
I am trying to implement a /give command, and I want to have the suffix of the itemType be 'item' so it would look like
<itemType: Item>
However, no matter what I do it always seems to be string.
My command looks like this
and the Item enum type like this
Neither the suffix in the struct field tag nor the one returned in Type() seem to have any effect.
The text was updated successfully, but these errors were encountered: