Consistent UUID usage across file handling
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user