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

Fix Hoppers being able to steal Items out of locked Containers #1391

Closed
3 of 12 tasks
ethernia-root opened this issue Apr 16, 2022 · 2 comments
Closed
3 of 12 tasks

Fix Hoppers being able to steal Items out of locked Containers #1391

ethernia-root opened this issue Apr 16, 2022 · 2 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@ethernia-root
Copy link

ethernia-root commented Apr 16, 2022

Describe the bug

Locked Containers are able to be emptied by using Hoppers

To Reproduce

Place Hopper below a locked Container

Expected behavior

Hoppers should not be able to pull Items out of a locked container

Screenshots or Logs

https://imgur.com/a/6Q9ScaE (Container is locked)
https://imgur.com/a/AnIZXaQ (I am pulling Items)

Java version

  • Java 8
  • Java 11
  • Java 16
  • Java 17

Plugin version

  • v4.1
  • v4.2
  • v4.3
  • v4.4
  • v4.5.x

Paper version

  • 1.16.x
  • 1.17.x
  • 1.18.x
@ethernia-root ethernia-root changed the title Bug Report Fix Hoppers being able to steal Items out of locked Containers Apr 16, 2022
@dmccoystephenson dmccoystephenson added bug Something isn't working priority labels Apr 16, 2022
@dmccoystephenson
Copy link
Member

Thanks for letting us know about this!

@dmccoystephenson dmccoystephenson added this to the 4.7.0 milestone Dec 3, 2022
@renbinden renbinden added MF 5 and removed MF 4 labels Dec 13, 2022
@renbinden renbinden modified the milestones: 4.7.0, 5.1.0 Dec 13, 2022
@dmccoystephenson dmccoystephenson modified the milestones: 5.1.0, 5.0.6 Dec 15, 2022
@Kyrenic
Copy link
Contributor

Kyrenic commented Dec 16, 2022

This event would probably apply to hoppers taking items from chests: InventoryMoveItemEvent

@Kyrenic Kyrenic self-assigned this Dec 16, 2022
dmccoystephenson added a commit that referenced this issue Dec 19, 2022
Prevent items from being taken from locked containers by hoppers, closes #1391
dmccoystephenson added a commit that referenced this issue Dec 19, 2022
Prevent hoppers from picking up items from locked chests, closes #1391
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants