mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2025-01-30 19:31:31 +01:00
Move messages
This commit is contained in:
parent
f29c28e037
commit
f35e00ac2a
@ -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);
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user