Move auth storage

From "auth storage" to "storage/auth"
This commit is contained in:
Minecon724 2024-12-31 16:29:39 +01:00
parent 1cc787230c
commit 69cb2ef9af
Signed by: Minecon724
GPG key ID: 3CCC4D267742C8E8

View file

@ -19,12 +19,11 @@ public class AuthStorage {
private final File keysDirectory; private final File keysDirectory;
AuthStorage(Plugin plugin) { AuthStorage(Plugin plugin) {
File directory = new File(plugin.getDataFolder(), "auth storage"); File directory = new File(plugin.getDataFolder(), "storage/auth");
this.playersDirectory = new File(directory, "players"); this.playersDirectory = new File(directory, "players");
this.keysDirectory = new File(directory, "keys"); this.keysDirectory = new File(directory, "keys");
directory.mkdir(); keysDirectory.mkdirs();
keysDirectory.mkdir();
playersDirectory.mkdir(); playersDirectory.mkdir();
} }