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

Calling InteractionKeyMappingTriggered event fires train controls block interaction twice #6901

Open
Yesssssman opened this issue Sep 5, 2024 · 0 comments
Labels
area: compatibility Issue only happens when other mods are present status: confirmed Issue's details are known, it is consistently reproducible, and it needs a fix type: bug Issue where something isn't working

Comments

@Yesssssman
Copy link

Description

Hello, I'm a developer from Epic Fight. I got a report for a weird issue when trying to control the train from Create.

Epic-Fight/epicfightmod#1771

As you can see in the video the player can't control the train because it acts like it pressed twice. I found it was because I called InteractionKeyMappingTriggered event for my keybind.

I have a keybind for casting guard skill which has the default value as mouse right button. The event has KeyMapping instance that you can distinguish if the event is called by the vanilla side or mine. Please let me know if there are any ways to fix this issue both on my side or on your end. Thanks for reading.

Game Log

https://mclo.gs/DXO1jzC

Debug Information

No response

@Yesssssman Yesssssman added the type: bug Issue where something isn't working label Sep 5, 2024
@IThundxr IThundxr added area: compatibility Issue only happens when other mods are present status: confirmed Issue's details are known, it is consistently reproducible, and it needs a fix labels Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: compatibility Issue only happens when other mods are present status: confirmed Issue's details are known, it is consistently reproducible, and it needs a fix type: bug Issue where something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants