Closed dedo1911 closed 4 years ago
If the user has not permission to build in safezone, It's currently returning okWarZone instead of forbiddenSafeZone.
https://github.com/Aquerr/EagleFactions/blob/849d92a6424fb2f393d3a5feb8218092777097ca/common/src/main/java/io/github/aquerr/eaglefactions/common/managers/ProtectionManagerImpl.java#L582
if (user.hasPermission(PluginPermissions.SAFE_ZONE_BUILD)) return ProtectionResult.okSafeZone(); else return ProtectionResult.forbiddenSafeZone();
Ah, I see, my bad. Thanks for report.
Bug has been fixed in dev. If you would like to grab that build then feel free to do it from this link. Don't know yet when normal release will be published.
If the user has not permission to build in safezone, It's currently returning okWarZone instead of forbiddenSafeZone.
https://github.com/Aquerr/EagleFactions/blob/849d92a6424fb2f393d3a5feb8218092777097ca/common/src/main/java/io/github/aquerr/eaglefactions/common/managers/ProtectionManagerImpl.java#L582