1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-10 16:48:05 +02:00

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