diff --git a/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandSelect.java b/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandSelect.java index 007bdf0..7771b20 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandSelect.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandSelect.java @@ -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");