Commit 7395a268 authored by Melledy's avatar Melledy
Browse files

Fix mail not sending to offline players

parent 509f62e7
...@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment