-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Prevent dragging items outside of invsee #5902
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
Conversation
Essentials/src/main/java/com/earth2me/essentials/EssentialsPlayerListener.java
Outdated
Show resolved
Hide resolved
|
still need to test this but at first glance I'd want to remove the use of streams + use the |
|
I have commit new codes, but one thing to note is that this listener does not only cancel the event of dragging into armor slots but also all events of dragging into the bottom inventory. This is because the slot on the client side does not match the slot on the server side, if not so, the item may appear in a slot that was not dragged to or disappear. |
JRoy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for figuring this out! Appreciate it!
EssentialsX@2ccfad1 Add first login date to /seen (EssentialsX#6258) EssentialsX@e0e8d44 Prevent dragging items outside of invsee (EssentialsX#5902) EssentialsX@8ba7a44 Add support for snapshots in VersionUtil (EssentialsX#6265) EssentialsX@5ed43f3 Do not lowercase afk timeout commands (EssentialsX#6255) EssentialsX@69fd7bc Fix missing powertoollist permission (EssentialsX#6250) EssentialsX@302dd3f Maintain strong reference for online users (EssentialsX#6247) EssentialsX@7c89592 Add setting to preserve fly on gamemode change (EssentialsX#6238) EssentialsX@7bc91f1 Discord: Add setting to configure an HTTP Proxy for JDA (EssentialsX#6275)
Fixes #3065