summaryrefslogtreecommitdiffstats
path: root/Essentials/src/com/earth2me/essentials/commands/Commandsethome.java
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2013-06-22 16:33:22 +0100
committerKHobbits <rob@khobbits.co.uk>2013-06-22 16:33:22 +0100
commit3c58a2ce8229820862d95eda304b1927a3467d46 (patch)
tree0869777adfd6b5e34458e4d49082e24ede3d4b09 /Essentials/src/com/earth2me/essentials/commands/Commandsethome.java
parent87d0e92c1f1656f0859f61c8b807fc8e541ae945 (diff)
downloadEssentials-3c58a2ce8229820862d95eda304b1927a3467d46.tar
Essentials-3c58a2ce8229820862d95eda304b1927a3467d46.tar.gz
Essentials-3c58a2ce8229820862d95eda304b1927a3467d46.tar.lz
Essentials-3c58a2ce8229820862d95eda304b1927a3467d46.tar.xz
Essentials-3c58a2ce8229820862d95eda304b1927a3467d46.zip
Clean up exception types.
Diffstat (limited to 'Essentials/src/com/earth2me/essentials/commands/Commandsethome.java')
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandsethome.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandsethome.java b/Essentials/src/com/earth2me/essentials/commands/Commandsethome.java
index 390ab6507..e9907b515 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandsethome.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandsethome.java
@@ -42,7 +42,7 @@ public class Commandsethome extends EssentialsCommand
usersHome = ess.getUser(args[0]);
if (usersHome == null)
{
- throw new NoSuchFieldException(_("playerNotFound"));
+ throw new PlayerNotFoundException();
}
name = args[1].toLowerCase(Locale.ENGLISH);
}