WorldEditShortcuts #115
@ -19,7 +19,6 @@
|
|||||||
|
|
||||||
package de.steamwar.bausystem;
|
package de.steamwar.bausystem;
|
||||||
|
|
||||||
import com.sk89q.worldedit.command.WorldEditCommands;
|
|
||||||
import de.steamwar.bausystem.commands.*;
|
import de.steamwar.bausystem.commands.*;
|
||||||
|
|||||||
import de.steamwar.bausystem.commands.worldedit.*;
|
import de.steamwar.bausystem.commands.worldedit.*;
|
||||||
import de.steamwar.bausystem.tracer.ShowManager;
|
import de.steamwar.bausystem.tracer.ShowManager;
|
||||||
@ -144,6 +143,7 @@ public class BauSystem extends JavaPlugin implements Listener {
|
|||||||
public static BauSystem getPlugin() {
|
public static BauSystem getPlugin() {
|
||||||
return plugin;
|
return plugin;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static UUID getOwner() {
|
public static UUID getOwner() {
|
||||||
//Lazy loading to improve startup time of the server in 1.15
|
//Lazy loading to improve startup time of the server in 1.15
|
||||||
if (owner == null) {
|
if (owner == null) {
|
||||||
@ -156,9 +156,11 @@ public class BauSystem extends JavaPlugin implements Listener {
|
|||||||
}
|
}
|
||||||
return owner;
|
return owner;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static List<ArenaSection> getSections() {
|
public static List<ArenaSection> getSections() {
|
||||||
return sections;
|
return sections;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static int getOwnerID() {
|
public static int getOwnerID() {
|
||||||
return SteamwarUser.get(getOwner()).getId();
|
return SteamwarUser.get(getOwner()).getId();
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren
Unused Import