1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-13 18:14:38 +02:00

Throwing an error on /sethome if you cant set multiple homes.

This commit is contained in:
KHobbits
2011-09-02 15:58:25 +01:00
parent 4555148e1c
commit 2134fcc7af

View File

@@ -39,6 +39,9 @@ public class Commandsethome extends EssentialsCommand
} }
} }
else {
throw new Exception(Util.format("maxHomes", 1));
}
} }
else else
{ {