Profile + Effect Loading

This commit is contained in:
Kam committed 2025-02-19 00:21:40 -05:00
1 parent e8f657f7e6
commit 5a38f9057f
9 files changed
+354 -139

No files matched your search

@@ -232,7 +232,7 @@ public class CommandProfileAdmin extends CommandProfileBase {
return;
}
String targetPlayer = args[0];
String backupFileName = args[1];
String backupFileName = args[1] += ".dat";
File backupDir = new File(ProfileController.getBackupDir(), ProfileController.getProfile(targetPlayer).player.getUniqueID().toString());
File backupFile = new File(backupDir, backupFileName);
if(!backupFile.exists()){