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

ALTERNATE_CURRENT incorrect event cancellation #10292

Open
Teslicek opened this issue Mar 2, 2024 · 1 comment
Open

ALTERNATE_CURRENT incorrect event cancellation #10292

Teslicek opened this issue Mar 2, 2024 · 1 comment
Labels
status: accepted Disputed bug is accepted as valid or Feature accepted as desired to be added. type: bug Something doesn't work as it was intended to. version: 1.20.4 Game version 1.20.4

Comments

@Teslicek
Copy link

Teslicek commented Mar 2, 2024

Expected behavior

When placing REDSTONE next to a SHORT_GRASS (or any other flower) that is above a block that is not GRASS_BLOCK (such as DIAMOND_BLOCK) in a region, in which you do not have the permission to place blocks, you would expect the SHORT_GRASS to not be broken, as the plugin is cancelling the place event.

Observed/Actual behavior

The SHORT_GRASS is broken even when the event has been cancelled by the plugin.

Steps/models to reproduce

  1. Download WorldGuard and WorldEdit
  2. Set the redstone-implementation in paper config to ALTERNATE_CURRENT
  3. Create any region
  4. Inside the region, using WorldEdit, set SHORT_GRASS (or any other flower) above a block, such as DIAMOND_BLOCK
  5. Make sure you do not have the permission to place blocks in the region
  6. Place REDSTONE next to the SHORT_GRASS
  7. The SHORT_GRASS will be destroyed

Plugin and Datapack List

[11:17:22 INFO]: Server Plugins (2):
[11:17:22 INFO]: Bukkit Plugins:
[11:17:22 INFO]:  - WorldEdit, WorldGuard

Paper version

[11:16:50 INFO]: This server is running Paper version git-Paper-436 (MC: 1.20.4) (Implementing API version 1.20.4-R0.1-SNAPSHOT) (Git: 850b736)
You are running the latest version

Other

This bug only happens, when you use redstone-implementation: ALTERNATE_CURRENT, but when you use VANILLA as the value, it works normally.

I already contacted the developers of WorldGuard, but was told to report this bug to paper.

@Teslicek Teslicek added status: needs triage type: bug Something doesn't work as it was intended to. labels Mar 2, 2024
@Lulu13022002
Copy link
Contributor

Affect the BlockPlaceEvent

@Lulu13022002 Lulu13022002 added status: accepted Disputed bug is accepted as valid or Feature accepted as desired to be added. and removed status: needs triage labels Mar 23, 2024
@kashike kashike added the version: 1.20.4 Game version 1.20.4 label Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: accepted Disputed bug is accepted as valid or Feature accepted as desired to be added. type: bug Something doesn't work as it was intended to. version: 1.20.4 Game version 1.20.4
Projects
Status: ✅ Accepted
Development

No branches or pull requests

3 participants