mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2025-01-31 03:41:24 +01:00
Move messages
This commit is contained in:
parent
f29c28e037
commit
f35e00ac2a
@ -63,12 +63,12 @@ public class PreviewCommand extends SubCommand {
|
|||||||
} else {
|
} else {
|
||||||
// Do not preview if user has an island
|
// Do not preview if user has an island
|
||||||
if (island != null) {
|
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;
|
return;
|
||||||
}
|
}
|
||||||
Structure structure = skyblock.getStructureManager().getStructure(args[0]);
|
Structure structure = skyblock.getStructureManager().getStructure(args[0]);
|
||||||
if(structure == null) {
|
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;
|
return;
|
||||||
}
|
}
|
||||||
skyblock.getIslandManager().previewIsland(player, structure);
|
skyblock.getIslandManager().previewIsland(player, structure);
|
||||||
|
@ -984,6 +984,10 @@ Command:
|
|||||||
TutorialConfirm: '&7Click to &f&oconfirm &r&7Island creation!'
|
TutorialConfirm: '&7Click to &f&oconfirm &r&7Island creation!'
|
||||||
Cancel: 'Cancel'
|
Cancel: 'Cancel'
|
||||||
TutorialCancel: '&7Click to &f&ocancel &r&7Island creation!'
|
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:
|
PermissionDenied:
|
||||||
Admin:
|
Admin:
|
||||||
Message: '&bSkyBlock &8| &cError&8: &eYou don''t have permission to perform that command.'
|
Message: '&bSkyBlock &8| &cError&8: &eYou don''t have permission to perform that command.'
|
||||||
@ -3532,10 +3536,6 @@ Island:
|
|||||||
Preview:
|
Preview:
|
||||||
Timeout:
|
Timeout:
|
||||||
Message: '&bSkyBlock &8| &aInfo&8: &eYour time to preview island has expired.'
|
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:
|
Hologram:
|
||||||
Leaderboard:
|
Leaderboard:
|
||||||
Votes:
|
Votes:
|
||||||
|
Loading…
Reference in New Issue
Block a user