WorldGuard

WorldGuard

8M Downloads

Regions in the end or nether are not protected from exploding beds

stonar96 opened this issue ยท 3 comments

commented

Versions

WorldEdit version: 7.2.0

WorldGuard version: 7.0.4

Platform version: git-Paper-298 (MC: 1.16.4) (Implementing API version 1.16.4-R0.1-SNAPSHOT)

Describe the bug

Regions in the end or nether are not protected from exploding beds, even though the player who tried to sleep in the bed cannot build in the region (is not a member of the region).

To Reproduce

  1. Go to the end or nether
  2. Create a region.
  3. Make sure you cannot build in the created region.
  4. Place a bed next to the created region.
  5. Try to sleep in the placed bed.
  6. The region is not protected from the explosion.

Expected behavior

The region to be protected from the explosion as it is for TNT, saplings, pistons, ... Either the bed or the player (who tried to sleep in the bed) shouldn't be treaded as member of the created region in this case, if they aren't.

Screenshots

I think the issue is described well enough.

Additional context

I know there is a flag for those explosions, namely other-explosion. However, I don't want to disable other-explosions entirely inside the created region. Also there are flags for TNT and pistons for example and regions are nevertheless protected from them if they are no members.

commented

grafik
Works fine for me.

Pls join the discord for more help and provide your region setup

commented

Just to clarify:
@Joo200 didn't reproduce the issue as described above. The bed has to be placed outside of the created region, where the player can sleep.

The behavior was discussed on Discord to be intended. The explosion is associated to the bed location, just the other-explosion flag defaults to true since it isn't meant to be associated. (See difference between protection related flags and mobs, fire and explosions related flags.)

commented

just to be clear, the behavior is working as expected - I'm not sure if it's working as intended. I think it might be worth investing if (and if so, why) respawn anchors have the same (or different) behavior when in the overworld (possibly due to the explode events?) and think about how to properly classify bed explosions (preferably without breaking current setups which rely on the other-explosion flag to prevent bed explosions).