mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-09-17 17:21:00 +02: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());
|
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());
|
sender.sendMessage(Locale.get(Msg.MANAGE_INFO_MOVE_SUCCESS).toString());
|
||||||
boolean movedToCurrentDatabase = Verify.equalsIgnoreCase(toDatabase.getConfigName(), plugin.getDB().getConfigName());
|
boolean movedToCurrentDatabase = Verify.equalsIgnoreCase(toDatabase.getConfigName(), plugin.getDB().getConfigName());
|
||||||
|
|
||||||
|
@ -102,7 +102,7 @@ public class ManageRestoreCommand extends SubCommand {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ManageUtils.clearAndCopy(database, backupDB, uuids)) {
|
if (ManageUtils.clearAndCopy(database, backupDB)) {
|
||||||
if (database.getConfigName().equals(plugin.getDB().getConfigName())) {
|
if (database.getConfigName().equals(plugin.getDB().getConfigName())) {
|
||||||
plugin.getHandler().getCommandUseFromDb();
|
plugin.getHandler().getCommandUseFromDb();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user