Fix empty argument in delhome.

This commit is contained in:
KHobbits 2011-11-28 02:54:19 +00:00
parent 6603d0997e
commit 05c90af1ee
3 changed files with 22 additions and 14 deletions

View file

@ -38,6 +38,7 @@ public class Commandtp extends EssentialsCommand
default:
if (!user.isAuthorized("essentials.tpohere"))
{
//TODO: Translate this
throw new Exception("You need access to /tpohere to teleport other players.");
}
user.sendMessage(_("teleporting"));