mirror of
https://e.coding.net/circlecloud/Residence.git
synced 2025-11-26 22:06:07 +00:00
Recovery static method in Residence class...
Signed-off-by: 502647092 <jtb1@163.com>
This commit is contained in:
@@ -5,18 +5,18 @@ import org.bukkit.command.CommandException;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
import com.bekvon.bukkit.residence.Residence;
|
||||
import com.bekvon.bukkit.residence.ResidenceMain;
|
||||
import com.bekvon.bukkit.residence.protection.ResidenceManager;
|
||||
|
||||
import cn.citycraft.PluginHelper.commands.BaseCommand;
|
||||
|
||||
public class CommandRename extends BaseCommand {
|
||||
Residence plugin;
|
||||
ResidenceMain plugin;
|
||||
|
||||
public CommandRename(final Residence plugin) {
|
||||
public CommandRename(final ResidenceMain plugin) {
|
||||
super("rename");
|
||||
this.plugin = plugin;
|
||||
setOnlyPlayerExecutable(true);
|
||||
setOnlyPlayerExecutable();
|
||||
setMinimumArguments(2);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user