WorldGuard

WorldGuard

8M Downloads

vehicle-place and vehicle-destroy flags no longer work.

LadyCailinBot opened this issue ยท 3 comments

commented

WORLDGUARD-2607 - Reported by Yariv.Livay

These flags used to work just fine but they don't in version 5.7.1

I don't know if it doesn't work completely or just under my setup, I don't have access to test it throughoutly at the moment.
My setup is two nested regions, both priority 1. The encapsulating region's flag has a vehicle-place and vehicle-destroy flags DENY, and the nested region has an entry ALLOW. global region has entry DENY.

I've used [this code|http://paste.ubuntu.com/5601276/] to see if the flag is applicable inside the nested region, it returns true. Isn't deny supposed to be stronger than default/allow for regions of the same priority?

commented

Comment by wizjany

Er, so the issue is with the flag not blocking vehicle placement or the priorities not resolving?

commented

Comment by Yariv.Livay

Well, you tell me :P
My guess is that it's the flags not being applied, since other flags work just fine.

commented

Comment by wizjany

Applied? The issue is that it's your code, not mine. Flags are only special in that they have their own little parts of the listener in worldguard. As far as the region manager is concerned they're all basically the same.