From 850b968e063d27de36db2cb959b765da732dc97b Mon Sep 17 00:00:00 2001 From: kirillsaint Date: Fri, 4 Aug 2023 22:45:51 +0600 Subject: [PATCH] New Roles --- .../silentclient/client/utils/types/PlayerResponse.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/silentclient/client/utils/types/PlayerResponse.java b/src/main/java/net/silentclient/client/utils/types/PlayerResponse.java index 955dec9..4e4035e 100644 --- a/src/main/java/net/silentclient/client/utils/types/PlayerResponse.java +++ b/src/main/java/net/silentclient/client/utils/types/PlayerResponse.java @@ -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() {