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

[bug] Placing shulker box via dispenser is throwing an error #241

Closed
2 tasks done
phaldan opened this issue Jan 11, 2025 · 0 comments
Closed
2 tasks done

[bug] Placing shulker box via dispenser is throwing an error #241

phaldan opened this issue Jan 11, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@phaldan
Copy link
Contributor

phaldan commented Jan 11, 2025

Are you using the latest available version for your server?

  • I am using the latest available version of fuji for my minecraft server.

Is there an existing issue for this?

  • I have searched the existing issues.

Current Behavior

Activating dispenser is showing a smoke animation, but shulker box is still in dispenser and has not been placed. In the server logs a NullPointerException is thrown in AntiBuildInitializer (player variable contains null). More details can be found in the server logs.

Expected Behavior

With activating dispenser the shulker box gets removed from the internal storage of the dispenser and placed in front of the dispenser. No error is thrown.

Steps To Reproduce

  1. Place dispenser with a button attached
  2. Put a shulker box into the dispenser
  3. Trigger the button
  4. No shulker box appears in front of dispenser

Server Logs

https://mclo.gs/Hj7TZxv

Anything else?

Minecraft Server: 1.21.1
Fabric Loader: 0.16.9
Antibuild config:

{
  "anti": {
    "break_block": {
      "id": [
        "*"
      ]
    },
    "place_block": {
      "id": [
        "*"
      ]
    },
    "interact_item": {
      "id": [
        "*"
      ]
    },
    "interact_block": {
      "id": [
        "*"
      ]
    },
    "interact_entity": {
      "id": [
        "*"
      ]
    }
  }
}
@phaldan phaldan added the bug Something isn't working label Jan 11, 2025
@phaldan phaldan changed the title [bug] Placing shulker box via dispenser is not working [bug] Placing shulker box via dispenser is throwing an error Jan 11, 2025
sakurawald added a commit that referenced this issue Jan 11, 2025
…nser-in-antibuild

bug: handle non player place_block in AntiBuild (resolves #241)
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

1 participant