WorldGuard

WorldGuard

8M Downloads

Standing in corner of poly region with PvP enabled disables pvp for you

LadyCailinBot opened this issue ยท 4 comments

commented

WORLDGUARD-3288 - Reported by Simon.Teague

So if you create a poly pvp region, with walls surrounding this region, and then stand in one of the corners covered by the region, pvp is disabled for you. This allows camping spots in pvp arenas, so is a pretty major issue.

commented

Comment by H8llfire

I can confirm this bug and would really like to have this fixed. I'm on spigot 1.8 and 6.0 Beta 4.

commented

Comment by PseudoKnight

If I'm not mistaken, poly regions points are centered over blocks, whereas cuboid regions go to the edge of blocks because they align with the grid. An entity, standing over a certain part of a block counted as within a region, may not be in the region itself. That doesn't necessarily mean this isn't a bug, though. If the entity is standing towards the inside of the region on that block, it should be within the region. Is this not happening?

http://i.imgur.com/lWD2o77.png

My recommendation to you guys is to give a 1 block buffer with poly regions that need to handle entity locations. (eg. mob-spawning, pvp, deny-spawn, mob-damage, etc) This way the angle covers the entirety of the edge blocks you're trying to protect.

commented

Comment by H8llfire

Well, this bug did not exist before, I updated from latest 5.9 to Beta 4, and players have reported that some players just camp in these corners at the region to heal and use potions. Buffer is no option, as that would allow people to PvP in the buffer zone.

commented

Comment by H8llfire

Thanks sk ;)