mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-28 05:35:44 +01:00
Fixed ranks manager removeRank code
This commit is contained in:
parent
ff909cf8a6
commit
cdbceeb241
@ -103,9 +103,9 @@ public class RanksManager {
|
||||
*/
|
||||
public boolean removeRank(String reference) {
|
||||
return !reference.equalsIgnoreCase(OWNER_RANK_REF)
|
||||
&& reference.equalsIgnoreCase(SUB_OWNER_RANK_REF)
|
||||
&& reference.equalsIgnoreCase(TRUSTED_RANK_REF)
|
||||
&& reference.equalsIgnoreCase(COOP_RANK_REF)
|
||||
&& !reference.equalsIgnoreCase(SUB_OWNER_RANK_REF)
|
||||
&& !reference.equalsIgnoreCase(TRUSTED_RANK_REF)
|
||||
&& !reference.equalsIgnoreCase(COOP_RANK_REF)
|
||||
&& !reference.equalsIgnoreCase(MEMBER_RANK_REF)
|
||||
&& !reference.equalsIgnoreCase(VISITOR_RANK_REF)
|
||||
&& !reference.equalsIgnoreCase(BANNED_RANK_REF)
|
||||
|
Loading…
Reference in New Issue
Block a user