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

Handcuff Damaging #301

Open
H0Imes opened this issue Oct 21, 2024 · 2 comments
Open

Handcuff Damaging #301

H0Imes opened this issue Oct 21, 2024 · 2 comments
Labels
Review Needed Pending Review.

Comments

@H0Imes
Copy link
Contributor

H0Imes commented Oct 21, 2024

Currently, the handcuffs aren't damaged when you look into the air and right-click, due to the way events are handled. There's no event specifically triggered by pressing the "Use Item" keybind alone. To resolve this, a Network Message (e.g., RightClickMessage) should be implemented, which is consistently triggered whenever the "Use Item" keybind is used, ensuring that the handcuff's state is properly updated regardless of where the player is looking.

@Sm0keySa1m0n
Copy link
Collaborator

At the moment handcuffs aren't being damaged because that doesn't seem to be implemented. However, it can easily be added by implementing HandcuffItem#use, no network messages required.

H0Imes added a commit to H0Imes/crafting-dead that referenced this issue Oct 25, 2024
@0xE69
Copy link
Collaborator

0xE69 commented Nov 16, 2024

In Review for QA Testing.

@0xE69 0xE69 added the Review Needed Pending Review. label Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Review Needed Pending Review.
Projects
None yet
Development

No branches or pull requests

3 participants