1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-17 20:11:21 +02:00

Skip empty user names on uuid conversion.

This commit is contained in:
KHobbits
2014-04-22 18:07:02 +01:00
parent 6bdb0aef77
commit 36594b6311

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;
}