Archived
0

Fixed bug where user with no mail, was given a list for them.

This commit is contained in:
Minenash
2019-01-03 22:52:43 -05:00
parent 4922bb4aea
commit 68769254df

View File

@@ -544,7 +544,8 @@ public class Mail implements Module, Listener
list.add(m);
idToMsg.put(m.getID(), m);
}
playerToMsg.put(uuid, list);
if (!list.isEmpty())
playerToMsg.put(uuid, list);
}
}