mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-02-17 03:02:35 +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.appendInt(item.getId());
|
||||||
this.response.appendBoolean(item.isClubOnly());
|
this.response.appendBoolean(item.isClubOnly());
|
||||||
this.response.appendInt(Math.max(daysRequired - daysAsHc, 0));
|
this.response.appendInt(daysRequired);
|
||||||
this.response.appendBoolean(daysRequired <= daysAsHc);
|
this.response.appendBoolean(daysRequired <= daysAsHc);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user