mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-03 15:08:18 +01:00
Forgot this one
This commit is contained in:
parent
6427a93d14
commit
5a5dc933ad
@ -16,7 +16,6 @@ public class Commandsetspawn extends EssentialsCommand
|
|||||||
@Override
|
@Override
|
||||||
public void run(Server server, User user, String commandLabel, String[] args) throws Exception
|
public void run(Server server, User user, String commandLabel, String[] args) throws Exception
|
||||||
{
|
{
|
||||||
charge(user);
|
|
||||||
final String group = args.length > 0 ? getFinalArg(args, 0) : "default";
|
final String group = args.length > 0 ? getFinalArg(args, 0) : "default";
|
||||||
ess.getSpawn().setSpawn(user.getLocation(), group);
|
ess.getSpawn().setSpawn(user.getLocation(), group);
|
||||||
user.sendMessage(Util.format("spawnSet", group));
|
user.sendMessage(Util.format("spawnSet", group));
|
||||||
|
Loading…
Reference in New Issue
Block a user