We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Toggling state with 2+ active states toggles wrong state. Might be toggling first state in the collection.
NPCLib JAR name npclib-plugin-2.11-SNAPSHOT.jar
To Reproduce Steps to reproduce the behavior:
// toggle 2 states npc.toggleState(NPCState.ON_FIRE); npc.toggleState(NPCState.CROUCHED);
// toggles crouch instead of fire npc.toggleState(NPCState.ON_FIRE);
Expected behavior Toggle state fire should toggle state fire instead of crouched and vice versa.
The text was updated successfully, but these errors were encountered:
Merged PR, closing issue. If the issue is not fixed, the issue may be reopened.
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Toggling state with 2+ active states toggles wrong state. Might be toggling first state in the collection.
NPCLib JAR name
npclib-plugin-2.11-SNAPSHOT.jar
To Reproduce
Steps to reproduce the behavior:
// toggle 2 states
npc.toggleState(NPCState.ON_FIRE);
npc.toggleState(NPCState.CROUCHED);
// toggles crouch instead of fire
npc.toggleState(NPCState.ON_FIRE);
Expected behavior
Toggle state fire should toggle state fire instead of crouched and vice versa.
The text was updated successfully, but these errors were encountered: