diff --git a/src/main/java/net/frozenorb/apiv3/model/IpBan.java b/src/main/java/net/frozenorb/apiv3/model/IpBan.java index 0ecd8e7..3010432 100644 --- a/src/main/java/net/frozenorb/apiv3/model/IpBan.java +++ b/src/main/java/net/frozenorb/apiv3/model/IpBan.java @@ -28,6 +28,7 @@ public final class IpBan { @Getter private String userIp; @Getter private String reason; @Getter private Instant expiresAt; + @Getter private String linkedPunishmentId; @Getter private UUID addedBy; @Getter private Instant addedAt; @@ -81,6 +82,7 @@ public final class IpBan { this.userIp = userIp; this.reason = linked.getPublicReason(); this.expiresAt = linked.getExpiresAt(); + this.linkedPunishmentId = linked.getId(); this.addedBy = linked.getAddedBy(); this.addedAt = Instant.now(); this.actorName = linked.getActorName();