From daf0e6e1ba841f0e2a6f088d2162946838abe187 Mon Sep 17 00:00:00 2001 From: NotMyFault Date: Tue, 25 May 2021 11:02:37 +0200 Subject: [PATCH] Use same creation message for templates like for setup --- Core/src/main/java/com/plotsquared/core/command/Template.java | 4 ++-- Core/src/main/resources/lang/messages_en.json | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Core/src/main/java/com/plotsquared/core/command/Template.java b/Core/src/main/java/com/plotsquared/core/command/Template.java index 0b78f53c0..d5a1d14a2 100644 --- a/Core/src/main/java/com/plotsquared/core/command/Template.java +++ b/Core/src/main/java/com/plotsquared/core/command/Template.java @@ -240,8 +240,8 @@ public class Template extends SubCommand { this.setupUtils.setupWorld(builder); TaskManager.runTask(() -> { - player.sendMessage(TranslatableCaption.of("debugimportworlds.done")); player.teleport(this.worldUtil.getSpawn(world), TeleportCause.COMMAND); + player.sendMessage(TranslatableCaption.of("setup.setup_finished")); }); return true; } @@ -273,7 +273,7 @@ public class Template extends SubCommand { ); return; } - player.sendMessage(TranslatableCaption.of("debugimportworlds.done")); + player.sendMessage(TranslatableCaption.of("setup.setup_finished")); }); return true; } diff --git a/Core/src/main/resources/lang/messages_en.json b/Core/src/main/resources/lang/messages_en.json index af4d14c9b..f30edea8a 100644 --- a/Core/src/main/resources/lang/messages_en.json +++ b/Core/src/main/resources/lang/messages_en.json @@ -269,7 +269,6 @@ "expiry.expired_options_clicky": " expired: >\">\n - >\">Delete this ()\n - >\">Remind later ()\n - >\">Keep this ()\n - >\">Don't show me this ()", "debugimportworlds.single_plot_area": "Must be a single plot area.", "debugimportworlds.world_container": "World container must be configured to be a separate directory to your base files.", - "debugimportworlds.done": "Done!", "debugroadregen.regen_done": "Regenerating plot south/east roads: \n - Result: Success!", "debugroadregen.regen_all": "To regen all roads: ", "schematics.schematic_road_created": "Saved new road schematic. To test the schematic, fly to a few other plots and run .",