mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-10 22:35:35 +00:00
Stop using old string player lookup.
This commit is contained in:
parent
8e7abe325e
commit
cbaf126a25
3 changed files with 9 additions and 8 deletions
|
@ -40,7 +40,7 @@ public class Commandsethome extends EssentialsCommand
|
|||
name = args[1].toLowerCase(Locale.ENGLISH);
|
||||
if (user.isAuthorized("essentials.sethome.others"))
|
||||
{
|
||||
usersHome = ess.getUser(args[0]);
|
||||
usersHome = getPlayer(server, args[0], true, true);
|
||||
if (usersHome == null)
|
||||
{
|
||||
throw new PlayerNotFoundException();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue