Consistent UUID usage across file handling

This commit is contained in:
mbax
2014-08-04 23:56:13 -04:00
parent feb5980a3c
commit 645b3adc07
@@ -186,8 +186,7 @@ public class UUIDVaultManager {
* @throws IOException Uh oh!
*/
public void deleteVault(CommandSender sender, UUID holder, int number) throws IOException {
String name = holder.toString();
File file = new File(directory, name.toLowerCase() + ".yml");
File file = new File(directory, holder.toString() + ".yml");
if (!file.exists()) {
return;
}