mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-25 06:53:37 +00:00
Fix empty argument in delhome.
This commit is contained in:
parent
6603d0997e
commit
05c90af1ee
3 changed files with 22 additions and 14 deletions
|
@ -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"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue