From e9e96a0c116be3a6adb4a0ee3b2b87517ddca328 Mon Sep 17 00:00:00 2001 From: Thijmen Date: Tue, 9 Feb 2021 17:03:25 -0500 Subject: [PATCH] Don't do calculation server side - client relies on the amount of days the offer needs to have. --- .../eu/habbo/messages/outgoing/catalog/ClubGiftsComposer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/eu/habbo/messages/outgoing/catalog/ClubGiftsComposer.java b/src/main/java/com/eu/habbo/messages/outgoing/catalog/ClubGiftsComposer.java index 13e4bfc6..e45b4822 100644 --- a/src/main/java/com/eu/habbo/messages/outgoing/catalog/ClubGiftsComposer.java +++ b/src/main/java/com/eu/habbo/messages/outgoing/catalog/ClubGiftsComposer.java @@ -55,7 +55,7 @@ public class ClubGiftsComposer extends MessageComposer { this.response.appendInt(item.getId()); this.response.appendBoolean(item.isClubOnly()); - this.response.appendInt(Math.max(daysRequired - daysAsHc, 0)); + this.response.appendInt(daysRequired); this.response.appendBoolean(daysRequired <= daysAsHc); } } else {