mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-06 12:33:03 +00:00
Fix home functionality bugs:
/home not using bed when enabled /home not giving teleport warning
This commit is contained in:
parent
0755fbf089
commit
03445e5b9b
2 changed files with 38 additions and 31 deletions
|
@ -69,7 +69,7 @@ public class Commandhome extends EssentialsCommand
|
|||
}
|
||||
else if (homes.isEmpty())
|
||||
{
|
||||
throw new Exception(player == user ? _("noHomeSet") : _("noHomeSetPlayer"));
|
||||
throw new Exception(_("noHomeSetPlayer"));
|
||||
}
|
||||
else if (homes.size() == 1 && player.equals(user))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue