mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 05:06:44 +01:00
This commit is contained in:
parent
630284e7ae
commit
580cc359e5
@ -228,7 +228,7 @@ public class DatabaseCommand extends SubCommand {
|
|||||||
return true;
|
return true;
|
||||||
} catch (ClassNotFoundException | SQLException e) {
|
} catch (ClassNotFoundException | SQLException e) {
|
||||||
player.sendMessage(TranslatableCaption.of("database.failed_to_save_plots"));
|
player.sendMessage(TranslatableCaption.of("database.failed_to_save_plots"));
|
||||||
player.sendMessage(TranslatableCaption.of(("errors.stacktrace_begin")));
|
player.sendMessage(TranslatableCaption.of("errors.stacktrace_begin"));
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
player.sendMessage(TranslatableCaption.of(("errors.stacktrace_end")));
|
player.sendMessage(TranslatableCaption.of(("errors.stacktrace_end")));
|
||||||
player.sendMessage(TranslatableCaption.of("database.invalid_args"));
|
player.sendMessage(TranslatableCaption.of("database.invalid_args"));
|
||||||
@ -236,9 +236,9 @@ public class DatabaseCommand extends SubCommand {
|
|||||||
}
|
}
|
||||||
} catch (ClassNotFoundException | SQLException e) {
|
} catch (ClassNotFoundException | SQLException e) {
|
||||||
player.sendMessage(TranslatableCaption.of("database.failed_to_open"));
|
player.sendMessage(TranslatableCaption.of("database.failed_to_open"));
|
||||||
player.sendMessage(TranslatableCaption.of(("errors.stacktrace_begin")));
|
player.sendMessage(TranslatableCaption.of("errors.stacktrace_begin"));
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
player.sendMessage(TranslatableCaption.of(("errors.stacktrace_end")));
|
player.sendMessage(TranslatableCaption.of("errors.stacktrace_end"));
|
||||||
player.sendMessage(TranslatableCaption.of("database.invalid_args"));
|
player.sendMessage(TranslatableCaption.of("database.invalid_args"));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user