mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-22 08:25:12 +00:00

git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@969 e251c2fe-e539-e718-e476-b85c1f46cddb
22 lines
468 B
Java
22 lines
468 B
Java
package com.earth2me.essentials.commands;
|
|
|
|
import org.bukkit.Server;
|
|
import com.earth2me.essentials.Essentials;
|
|
import com.earth2me.essentials.User;
|
|
|
|
|
|
public class Commandsethome extends EssentialsCommand
|
|
{
|
|
public Commandsethome()
|
|
{
|
|
super("sethome");
|
|
}
|
|
|
|
@Override
|
|
public void run(Server server, Essentials parent, User user, String commandLabel, String[] args) throws Exception
|
|
{
|
|
user.setHome();
|
|
user.charge(this);
|
|
user.sendMessage("§7Home set.");
|
|
}
|
|
}
|