From d62b401db8a7a48cd4c55f1f29163aa31046a1fa Mon Sep 17 00:00:00 2001 From: KHobbits Date: Tue, 22 Apr 2014 18:07:02 +0100 Subject: [PATCH] Skip empty user names on uuid conversion. --- Essentials/src/com/earth2me/essentials/EssentialsUpgrade.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Essentials/src/com/earth2me/essentials/EssentialsUpgrade.java b/Essentials/src/com/earth2me/essentials/EssentialsUpgrade.java index 1e003df21..e6704c5fb 100644 --- a/Essentials/src/com/earth2me/essentials/EssentialsUpgrade.java +++ b/Essentials/src/com/earth2me/essentials/EssentialsUpgrade.java @@ -526,7 +526,7 @@ public class EssentialsUpgrade for (String string : userdir.list()) { - if (!string.endsWith(".yml")) + if (!string.endsWith(".yml") || string.length() < 5) { continue; }