Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ziqian zhang
Grasscutter
Commits
7395a268
Commit
7395a268
authored
May 02, 2022
by
Melledy
Browse files
Fix mail not sending to offline players
parent
509f62e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/game/mail/MailHandler.java
View file @
7395a268
...
@@ -37,6 +37,7 @@ public class MailHandler {
...
@@ -37,6 +37,7 @@ public class MailHandler {
if
(
event
.
isCanceled
())
return
;
message
=
event
.
getMessage
();
if
(
event
.
isCanceled
())
return
;
message
=
event
.
getMessage
();
message
.
setOwnerUid
(
this
.
getPlayer
().
getUid
());
message
.
setOwnerUid
(
this
.
getPlayer
().
getUid
());
message
.
save
();
this
.
mail
.
add
(
message
);
this
.
mail
.
add
(
message
);
...
...
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