Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Morningstar
Arcturus Morningstar
Commits
e9e96a0c
Commit
e9e96a0c
authored
Feb 09, 2021
by
Thijmen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't do calculation server side - client relies on the amount of days the offer needs to have.
parent
2806a376
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/main/java/com/eu/habbo/messages/outgoing/catalog/ClubGiftsComposer.java
...eu/habbo/messages/outgoing/catalog/ClubGiftsComposer.java
+1
-1
No files found.
src/main/java/com/eu/habbo/messages/outgoing/catalog/ClubGiftsComposer.java
View file @
e9e96a0c
...
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment