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

Skip empty user names on uuid conversion.

This commit is contained in:
KHobbits
2014-04-22 18:07:02 +01:00
parent 85cfaf3380
commit b4c3571d34

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