diff --git a/src/main/java/com/songoda/skyblock/command/commands/island/PreviewCommand.java b/src/main/java/com/songoda/skyblock/command/commands/island/PreviewCommand.java index 4971c760..fa3c9d80 100644 --- a/src/main/java/com/songoda/skyblock/command/commands/island/PreviewCommand.java +++ b/src/main/java/com/songoda/skyblock/command/commands/island/PreviewCommand.java @@ -63,12 +63,12 @@ public class PreviewCommand extends SubCommand { } else { // Do not preview if user has an island if (island != null) { - skyblock.getMessageManager().sendMessage(player, configLang.getString("Island.Preview.Island.Message")); + skyblock.getMessageManager().sendMessage(player, configLang.getString("Command.Island.Preview.Island.Message")); return; } Structure structure = skyblock.getStructureManager().getStructure(args[0]); if(structure == null) { - skyblock.getMessageManager().sendMessage(player, configLang.getString("Island.Preview.File.Message")); + skyblock.getMessageManager().sendMessage(player, configLang.getString("Command.Island.Preview.File.Message")); return; } skyblock.getIslandManager().previewIsland(player, structure); diff --git a/src/main/resources/language.yml b/src/main/resources/language.yml index fd7fc762..39fbf0f9 100644 --- a/src/main/resources/language.yml +++ b/src/main/resources/language.yml @@ -984,6 +984,10 @@ Command: TutorialConfirm: '&7Click to &f&oconfirm &r&7Island creation!' Cancel: 'Cancel' TutorialCancel: '&7Click to &f&ocancel &r&7Island creation!' + File: + Message: '&bSkyBlock &8| &cError&8: &eThis preview doesn''t exist!' + Island: + Message: '&bSkyBlock &8| &aError&8: &eYou can not preview an island if you already own an island!' PermissionDenied: Admin: Message: '&bSkyBlock &8| &cError&8: &eYou don''t have permission to perform that command.' @@ -3532,10 +3536,6 @@ Island: Preview: Timeout: Message: '&bSkyBlock &8| &aInfo&8: &eYour time to preview island has expired.' - File: - Message: '&bSkyBlock &8| &cError&8: &eThis preview doesn''t exist.' - Island: - Message: '&bSkyBlock &8| &aError&8: &eYou can not preview an island if you already own an island' Hologram: Leaderboard: Votes: