Move messages

This commit is contained in:
0ddlyoko 2020-03-27 13:22:23 +01:00 committed by Brianna
parent f29c28e037
commit f35e00ac2a
2 changed files with 6 additions and 6 deletions

View File

@ -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);

View File

@ -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: