SteamWar/BauSystem
Archiviert
13
0

Add CommandSelect.instance

Dieser Commit ist enthalten in:
yoyosource 2021-04-03 22:33:38 +02:00
Ursprung b23c112a7d
Commit 840016ec44

Datei anzeigen

@ -9,12 +9,16 @@ import de.steamwar.bausystem.Permission;
import de.steamwar.bausystem.world.Welt;
import de.steamwar.bausystem.world.regions.*;
import de.steamwar.command.SWCommand;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
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 World BUKKITWORLD = new BukkitWorld(Bukkit.getWorlds().get(0));
@ -22,6 +26,10 @@ public class CommandSelect extends SWCommand {
super("select");
}
{
instance = this;
}
@Register(help = true)
public void genericHelp(Player p, String... args) {
p.sendMessage("§8/§eselect §8[§7RegionsTyp§8] §8- §7Wähle einen RegionsTyp aus");