mirror of
https://github.com/refactorinqq/SLC-1.8.9.git
synced 2024-11-10 08:31:32 +01:00
New Roles
This commit is contained in:
parent
fecf067a8c
commit
850b968e06
@ -57,6 +57,9 @@ public class PlayerResponse extends AbstractReply {
|
||||
public int claimed_premium_cosmetics;
|
||||
public FavoriteCosmetics favorite_cosmetics;
|
||||
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 BigInteger discord_id;
|
||||
|
||||
@ -206,7 +209,7 @@ public class PlayerResponse extends AbstractReply {
|
||||
}
|
||||
|
||||
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() {
|
||||
@ -222,7 +225,7 @@ public class PlayerResponse extends AbstractReply {
|
||||
}
|
||||
|
||||
public boolean isAdmin() {
|
||||
return is_admin == 1;
|
||||
return is_admin == 1 || is_jr_admin == 1;
|
||||
}
|
||||
|
||||
public boolean isDev() {
|
||||
|
Loading…
Reference in New Issue
Block a user