Add CommandSelect.instance
Dieser Commit ist enthalten in:
Ursprung
b23c112a7d
Commit
840016ec44
@ -9,12 +9,16 @@ import de.steamwar.bausystem.Permission;
|
|||||||
import de.steamwar.bausystem.world.Welt;
|
import de.steamwar.bausystem.world.Welt;
|
||||||
import de.steamwar.bausystem.world.regions.*;
|
import de.steamwar.bausystem.world.regions.*;
|
||||||
import de.steamwar.command.SWCommand;
|
import de.steamwar.command.SWCommand;
|
||||||
|
import lombok.Getter;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
|
||||||
|
|
||||||
public class CommandSelect extends SWCommand {
|
public class CommandSelect extends SWCommand {
|
||||||
|
|
||||||
|
@Getter
|
||||||
|
private static CommandSelect instance = null;
|
||||||
|
|
||||||
public static final WorldEditPlugin WORLDEDIT_PLUGIN = ((WorldEditPlugin) Bukkit.getPluginManager().getPlugin("WorldEdit"));
|
public static final WorldEditPlugin WORLDEDIT_PLUGIN = ((WorldEditPlugin) Bukkit.getPluginManager().getPlugin("WorldEdit"));
|
||||||
public static final World BUKKITWORLD = new BukkitWorld(Bukkit.getWorlds().get(0));
|
public static final World BUKKITWORLD = new BukkitWorld(Bukkit.getWorlds().get(0));
|
||||||
|
|
||||||
@ -22,6 +26,10 @@ public class CommandSelect extends SWCommand {
|
|||||||
super("select");
|
super("select");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
instance = this;
|
||||||
|
}
|
||||||
|
|
||||||
@Register(help = true)
|
@Register(help = true)
|
||||||
public void genericHelp(Player p, String... args) {
|
public void genericHelp(Player p, String... args) {
|
||||||
p.sendMessage("§8/§eselect §8[§7RegionsTyp§8] §8- §7Wähle einen RegionsTyp aus");
|
p.sendMessage("§8/§eselect §8[§7RegionsTyp§8] §8- §7Wähle einen RegionsTyp aus");
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren