Skip empty user names on uuid conversion.

This commit is contained in:
KHobbits 2014-04-22 18:07:02 +01:00
parent 887957756e
commit d62b401db8

View File

@ -526,7 +526,7 @@ public class EssentialsUpgrade
for (String string : userdir.list())
{
if (!string.endsWith(".yml"))
if (!string.endsWith(".yml") || string.length() < 5)
{
continue;
}