Skip to content

Commit f9036e3

Browse files
ArikSquadSwofty-Developments
authored andcommitted
refactor: remove requiredRank from PunishmentTag
1 parent b62e282 commit f9036e3

1 file changed

Lines changed: 11 additions & 13 deletions

File tree

commons/src/main/java/net/swofty/commons/punishment/PunishmentTag.java

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,24 @@
44

55
@Getter
66
public enum PunishmentTag {
7-
PERSONAL_PROOF("Personal proof", "P", null, null),
8-
GOLIATH("Punishment applied via Goliath", "G", null, null),
9-
PLAYER_REPORT("Player Report", "R", null, null),
10-
FORUMS("Forums", "F", null, null),
11-
SLACK("Slack", "S", null, null),
12-
WELFARE("Punishment applied over Welfare concern", "W", "STAFF", 99),
13-
ACCOUNT_SECURITY_ALERT(null, "ASA", null, null),
14-
RANKED_TEAM(null, "RT", null, null),
15-
CHECK_BEFORE_UNBAN("Check with the punisher before unbanning this user", "U", "STAFF", null),
16-
OVERWRITE("This punishment overwrote another punishment", "O", "STAFF", null);
7+
PERSONAL_PROOF("Personal proof", "P", null),
8+
GOLIATH("Punishment applied via Goliath", "G", null),
9+
PLAYER_REPORT("Player Report", "R", null),
10+
FORUMS("Forums", "F", null),
11+
SLACK("Slack", "S", null),
12+
WELFARE("Punishment applied over Welfare concern", "W", 99),
13+
ACCOUNT_SECURITY_ALERT(null, "ASA", null),
14+
RANKED_TEAM(null, "RT", null),
15+
CHECK_BEFORE_UNBAN("Check with the punisher before unbanning this user", "U", null),
16+
OVERWRITE("This punishment overwrote another punishment", "O", null);
1717

1818
private final String description;
1919
private final String shortCode;
20-
private final String requiredRank;
2120
private final Integer group;
2221

23-
PunishmentTag(String description, String shortCode, String requiredRank, Integer group) {
22+
PunishmentTag(String description, String shortCode, Integer group) {
2423
this.description = description;
2524
this.shortCode = shortCode;
26-
this.requiredRank = requiredRank;
2725
this.group = group;
2826
}
2927

0 commit comments

Comments
 (0)