Fixed bug where user with no mail, was given a list for them.
This commit is contained in:
@@ -544,6 +544,7 @@ public class Mail implements Module, Listener
|
|||||||
list.add(m);
|
list.add(m);
|
||||||
idToMsg.put(m.getID(), m);
|
idToMsg.put(m.getID(), m);
|
||||||
}
|
}
|
||||||
|
if (!list.isEmpty())
|
||||||
playerToMsg.put(uuid, list);
|
playerToMsg.put(uuid, list);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user