
Ride flag is overriden by interact flag
bobhenl opened this issue ยท 3 comments
WorldEdit Version
7.0.13
WorldGuard Version
WorldGuard version 7.0.14-SNAPSHOT+2336-98b5220 -> latest dev build so far
Platform Version
1.21.4-2412-9249a2c (MC: 1.21.4)* * You are running the latest version
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
Hello, I think there's bug in worldguard.
https://dev.bukkit.org/projects/worldguard/files/5888870 Since this version (7.0.13), the interact flag has higher priority than ride
If we set interact to DENY and RIDE to allow, there's still message that "that can't be ridden here"
With older version it worked
In the new one to actually allow riding I need to set interact to allow (which is not so good as it can break other things)
Expected Behavior
The correct behavior should be that if we have interact set to DENY and ride to ALLOW, then it should work like in the version before 7.0.13.
As right now in case we wanna allow riding, we need to allow interact as well which doesn't make sense.
Reproduction Steps
- /rg flag interact deny
- /rg flag ride allow
- Spawn pig & give him saddle (or different mob)
- Try to ride it --> you can't because you can't ride that here
- Now try to set /rg flag interact allow
- It works now, BUT it should work even when it's deny
Optional WorldGuard-Report
No response
Anything Else?
No response
With older version it worked
this is simply not the case.
In the new one to actually allow riding I need to set interact to allow
this is also not the case.
Wait, why closing it? It's bug, isn't it? ride flag should has higher priority than the interact one, as it's more specific, shouldn't it?
A bit more explanation please @wizjany