mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-25 12:12:57 +08:00
Fix mail not sending to offline players
This commit is contained in:
parent
509f62e7cd
commit
7395a268ef
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user