marcelo-mason / SimpleClans

Full featured Clan system for Minecraft
http://dev.bukkit.org/server-mods/simpleclans/
50 stars 59 forks source link

Fix bypassing /clan home regroup #558

Closed xtomyserrax closed 4 years ago

xtomyserrax commented 4 years ago

Clan members can use /clan home regroup without being leaders and also without having the permission simpleclans.leader.home-regroup

Just added a return statement to both conditionals.

Let me show you a screenshot of the bypass: https://imgur.com/a/dCrM6uZ (Im getting the no leader message, and the no permission message, but im going home anyways)

Thanks!

RoinujNosde commented 4 years ago

Thanks!