File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
commons/src/main/java/net/swofty/commons/punishment Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,6 @@ public class PunishmentReason {
1515 private BanType banType ;
1616 @ Nullable
1717 private MuteType muteType ;
18- @ Nullable
19- private UnpunishReason unpunishReason ;
2018
2119 public PunishmentReason (@ NonNull BanType banType ) {
2220 this .banType = banType ;
@@ -26,10 +24,6 @@ public PunishmentReason(@NonNull MuteType muteType) {
2624 this .muteType = muteType ;
2725 }
2826
29- public PunishmentReason (@ NonNull UnpunishReason unpunishReason ) {
30- this .unpunishReason = unpunishReason ;
31- }
32-
3327 public PunishmentReason (@ NonNull String custom ) {
3428 this .custom = custom ;
3529 }
@@ -39,8 +33,6 @@ public String getReasonString() {
3933 return banType .getReason ();
4034 } else if (muteType != null ) {
4135 return muteType .getReason ();
42- } else if (unpunishReason != null ) {
43- return unpunishReason .getReason ();
4436 } else {
4537 return custom ;
4638 }
You can’t perform that action at this time.
0 commit comments