Preventing player to drop weapons #1290
Unanswered
AdamTroyan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Since I couldn't find a way to prevent dropping weapons directly, I implemented a workaround. The plugin now monitors the player's inventory every tick; if a weapon is dropped, it's immediately restored to the player and the entity on the ground is removed.
Beta Was this translation helpful? Give feedback.
All reactions