Skip to content

[Bug] Locks do not protect protect chests against hoppers #1868

@ninjakitty844

Description

@ninjakitty844

Description

A clear and concise description of the bug.
If you place a hopper underneath a locked chest, the hopper will take items out of the chest.

Steps to Reproduce

Provide step-by-step instructions to reproduce the issue.

  1. Put valuable items in a chest
  2. Lock the chest
  3. Put a hopper underneath the chest
  4. The hopper will take items out of the chest, and you can find all of the items in the hopper

Expected Behavior

Describe what you expected to happen instead of the bug.
I expect hoppers to not take items out of locked chests.

Actual Behavior

Describe what actually happened, including any error messages if applicable.
Hopper can take items out of locked chests

Screenshots or Logs

If applicable, add screenshots or logs to help explain the issue.

Environment Details

Java Version:

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

Plugin Version:

  • v5.3.0
  • v5.4.0
  • v5.5.0
  • v5.6.0

Server Software & Version:

  • Spigot
  • Paper

Version: 1.19.4 (e.g., 1.21.4)

Additional Context

Add any other context or relevant details about the issue.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions