mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-22 23:10:52 +01:00
Don't do calculation server side - client relies on the amount of days the offer needs to have.
This commit is contained in:
parent
2806a37615
commit
e9e96a0c11
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user