mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-25 05:14:28 +00:00
Profile + Effect Loading
This commit is contained in:
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()){
|
||||
|
||||
Reference in new issue
Block a user