New Roles

This commit is contained in:
kirillsaint 2023-08-04 22:45:51 +06:00
parent fecf067a8c
commit 850b968e06

View File

@ -57,6 +57,9 @@ public class PlayerResponse extends AbstractReply {
public int claimed_premium_cosmetics; public int claimed_premium_cosmetics;
public FavoriteCosmetics favorite_cosmetics; public FavoriteCosmetics favorite_cosmetics;
public int is_senior_tester; public int is_senior_tester;
public int is_senior_tech_support;
public int is_tech_support;
public int is_jr_admin;
public int is_tester_manager; public int is_tester_manager;
public BigInteger discord_id; public BigInteger discord_id;
@ -206,7 +209,7 @@ public class PlayerResponse extends AbstractReply {
} }
public boolean isStaff() { public boolean isStaff() {
return is_staff == 1 || isAdmin() || isDev() || isTester() || isManager() || isSeniorTester() || isTesterManager(); return is_staff == 1 || isAdmin() || isDev() || isTester() || isManager() || isSeniorTester() || isTesterManager() || is_senior_tech_support == 1 || is_tech_support == 1;
} }
public boolean isSeniorTester() { public boolean isSeniorTester() {
@ -222,7 +225,7 @@ public class PlayerResponse extends AbstractReply {
} }
public boolean isAdmin() { public boolean isAdmin() {
return is_admin == 1; return is_admin == 1 || is_jr_admin == 1;
} }
public boolean isDev() { public boolean isDev() {