WorldGuard

WorldGuard

8M Downloads

Region Edge [Bug]

MinerMends opened this issue ยท 1 comments

commented

WorldEdit Version

Bukkit-Official Latest

WorldGuard Version

v7.0.7

Platform Version

Spigot 1.19 - GeyserMC 1.19

Confirmations

  • I am using the most recent Minecraft release.
  • I am using a version of WorldEdit compatible with my Minecraft version.
  • I am using a version of WorldGuard compatible with my Minecraft version.
  • I am using the latest or recommended version of my platform software.
  • I am NOT using a hybrid server, e.g. a server that combines Bukkit and Forge. Examples include Arclight, Mohist, and Cardboard.
  • I am NOT using a fork of WorldEdit, such as FastAsyncWorldEdit (FAWE) or AsyncWorldEdit (AWE)

Bug Description

Image of bug: https://imgur.com/xDVcA6T

So basically, if you create a region around a box or some sort of edge-based selection with a drop off, you'll have this problem. For instance, I made a factions spawn, set the pvp to false, and set the deny-message to -e (empty). When you are inside the selection, nothing will appear when you try to break, pvp, etc. When you are outside of the region, nothing will be displayed because there is no region to get in the way. However, if you get too close to the edge of a region like this, it will show you that you cannot pvp here. This is a bit annoying as I wanted to completely remove the deny-message from my server as I don't feel it looks profesisonal nor pleasing to the eye. It's just not something I wanted to use.

Never the less, hopefully we can get this resolved!

Expected Behavior

It should be displaying nothing as technically the very edge of the region isn't inside the region so for it to display "You cannot pvp here" makes no sense. Especially when there's no region conflict or multipl regions.

Reproduction Steps

I explained it properly above. Create a region, go to the edge with deny-message set to false / pvp false and you'll see.

Optional WorldGuard-Report

https://pastebin.com/eN5q648E

Anything Else?

Nope. Sorry for the other issue created, hopefully this helps!

commented

If you're not in the region you will not receive the deny-message from that region.
The used player position is the food position from the player.

Don't create multiple issues for the same "bug".