mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-05 21:41:39 +00:00
Throwing an error on /sethome if you cant set multiple homes.
This commit is contained in:
parent
248e4e2ae2
commit
4abbbcb82b
1 changed files with 3 additions and 0 deletions
|
@ -39,6 +39,9 @@ public class Commandsethome extends EssentialsCommand
|
|||
}
|
||||
|
||||
}
|
||||
else {
|
||||
throw new Exception(Util.format("maxHomes", 1));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue