Don't do calculation server side - client relies on the amount of days the offer needs to have.

This commit is contained in:
Thijmen 2021-02-09 17:03:25 -05:00
parent 2806a37615
commit e9e96a0c11

View File

@ -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 {