Skip to content

Commit ae3ff64

Browse files
ArikSquadSwofty-Developments
authored andcommitted
refactor: remove requiredRank
1 parent f7d0349 commit ae3ff64

1 file changed

Lines changed: 11 additions & 13 deletions

File tree

commons/src/main/java/net/swofty/commons/punishment/template/UnpunishReason.java

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

55
@Getter
66
public enum UnpunishReason {
7-
WRONG_PLAYER("Wrong Player", null, null),
8-
WRONG_PUNISHMENT("Wrong Punishment", null, null),
9-
INSUFFICIENT_EVIDENCE("Insufficient Evidence", "IE", null),
10-
ACCOUNT_SECURED("Account Secured", null, "MODERATOR"),
11-
SECOND_CHANCE("Second Chance", "SC", "ADMIN"),
12-
CHARGEBACK_APPEALED("Chargeback Appealed", null, "ADMIN"),
13-
CHARGEBACK_FAILED("Chargeback Failed", null, "ADMIN"),
14-
CHARGEBACK_CANCELLED("Chargeback Cancelled", null, "ADMIN"),
15-
NOT_FRAUD("Not Fraud", null, "ADMIN"),
16-
TIME_SERVED_MAINTAIN_WEIGHT("Time Served (Maintain Weight)", "MW", "ADMIN");
7+
WRONG_PLAYER("Wrong Player", null),
8+
WRONG_PUNISHMENT("Wrong Punishment", null),
9+
INSUFFICIENT_EVIDENCE("Insufficient Evidence", "IE"),
10+
ACCOUNT_SECURED("Account Secured", null),
11+
SECOND_CHANCE("Second Chance", "SC"),
12+
CHARGEBACK_APPEALED("Chargeback Appealed", null),
13+
CHARGEBACK_FAILED("Chargeback Failed", null),
14+
CHARGEBACK_CANCELLED("Chargeback Cancelled", null),
15+
NOT_FRAUD("Not Fraud", null),
16+
TIME_SERVED_MAINTAIN_WEIGHT("Time Served (Maintain Weight)", "MW");
1717

1818
private final String reason;
1919
private final String tag;
20-
private final String requiredRank;
2120

22-
UnpunishReason(String reason, String tag, String requiredRank) {
21+
UnpunishReason(String reason, String tag) {
2322
this.reason = reason;
2423
this.tag = tag;
25-
this.requiredRank = requiredRank;
2624
}
2725
}

0 commit comments

Comments
 (0)