MrCrayfish's Gun Mod

MrCrayfish's Gun Mod

25M Downloads

Shooting gun does not respect ClickInputEvent

CreativeMD opened this issue ยท 2 comments

commented

Hey there,
I'm the author of PlayerRevive. Recently somebody reported this issue to me: CreativeMD/PlayerRevive#84
A player is able to shoot the gun even though all interactions should be disabled. I use the ClickInputEvent: source.
Not sure how this event is bypassed. I can't fix it from my end, maybe fire the event yourself. Normally it's fired in Minecraft.continueAttack(boolean).

In Regards
CreativeMD

commented

I had to switch to a different event called InteractionKeyMappingTriggered, not sure if this causes this incompatibility to reappear.

commented

I've recently switched to ClickInputEvent and manually added compat 2a091de