mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-03-11 14:20:54 +01:00
Fix method calls
This commit is contained in:
parent
e9b06f4581
commit
d83cc2b9f8
@ -102,7 +102,7 @@ public class ManageMoveCommand extends SubCommand {
|
||||
|
||||
sender.sendMessage(Locale.get(Msg.MANAGE_INFO_START).parse());
|
||||
|
||||
if (ManageUtils.clearAndCopy(toDatabase, fromDatabase, uuids)) {
|
||||
if (ManageUtils.clearAndCopy(toDatabase, fromDatabase)) {
|
||||
sender.sendMessage(Locale.get(Msg.MANAGE_INFO_MOVE_SUCCESS).toString());
|
||||
boolean movedToCurrentDatabase = Verify.equalsIgnoreCase(toDatabase.getConfigName(), plugin.getDB().getConfigName());
|
||||
|
||||
|
@ -102,7 +102,7 @@ public class ManageRestoreCommand extends SubCommand {
|
||||
return;
|
||||
}
|
||||
|
||||
if (ManageUtils.clearAndCopy(database, backupDB, uuids)) {
|
||||
if (ManageUtils.clearAndCopy(database, backupDB)) {
|
||||
if (database.getConfigName().equals(plugin.getDB().getConfigName())) {
|
||||
plugin.getHandler().getCommandUseFromDb();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user