1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-02-25 17:02:48 +01:00

[trunk]fix nullpointer on mails after you clear them and try to send mails

git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1325 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
ementalo 2011-05-02 23:10:24 +00:00
parent 5b4ecb6cc1
commit 4f19593af3

View File

@ -307,6 +307,7 @@ public abstract class UserData extends PlayerExtension implements IConf
if (mails == null) if (mails == null)
{ {
config.removeProperty("mail"); config.removeProperty("mail");
mails = _getMails();
} }
else else
{ {