diff options
Diffstat (limited to 'Essentials/src/net/ess3/commands/Commandsethome.java')
-rw-r--r-- | Essentials/src/net/ess3/commands/Commandsethome.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Essentials/src/net/ess3/commands/Commandsethome.java b/Essentials/src/net/ess3/commands/Commandsethome.java index 4f9f95db5..2141ac248 100644 --- a/Essentials/src/net/ess3/commands/Commandsethome.java +++ b/Essentials/src/net/ess3/commands/Commandsethome.java @@ -38,13 +38,13 @@ public class Commandsethome extends EssentialsCommand } else { - throw new Exception(_("You cannot set more than {0} homes.", ess.getRanks().getHomeLimit(user))); + throw new Exception(_("§4You cannot set more than§c {0} §4homes.", ess.getRanks().getHomeLimit(user))); } } else { - throw new Exception(_("You cannot set more than {0} homes.", 1)); + throw new Exception(_("§4You cannot set more than§c {0} §4homes.", 1)); } } else @@ -54,7 +54,7 @@ public class Commandsethome extends EssentialsCommand IUser usersHome = ess.getUserMap().getUser(ess.getServer().getPlayer(args[0])); if (usersHome == null) { - throw new NoSuchFieldException(_("Player not found.")); + throw new NoSuchFieldException(_("§4Player not found.")); } String name = args[1].toLowerCase(Locale.ENGLISH); if (!Permissions.SETHOME_MULTIPLE.isAuthorized(user)) @@ -63,7 +63,7 @@ public class Commandsethome extends EssentialsCommand } if ("bed".equals(name.toLowerCase(Locale.ENGLISH))) { - throw new NoSuchFieldException(_("Invalid home name!")); + throw new NoSuchFieldException(_("§4Invalid home name!")); } usersHome.getData().addHome(name, user.getPlayer().getLocation()); |