mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-06 02:51:32 +01:00
Throwing an error on /sethome if you cant set multiple homes.
This commit is contained in:
parent
248e4e2ae2
commit
4abbbcb82b
@ -39,6 +39,9 @@ public class Commandsethome extends EssentialsCommand
|
||||
}
|
||||
|
||||
}
|
||||
else {
|
||||
throw new Exception(Util.format("maxHomes", 1));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user