Fix Region.Prototype.SECTION_PATH #165
@ -42,6 +42,7 @@ import org.bukkit.inventory.meta.ItemMeta;
|
|||||||
import org.bukkit.plugin.java.JavaPlugin;
|
import org.bukkit.plugin.java.JavaPlugin;
|
||||||
import org.bukkit.scheduler.BukkitTask;
|
import org.bukkit.scheduler.BukkitTask;
|
||||||
|
|
||||||
|
import java.nio.file.Paths;
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
|
|
||||||
@ -74,6 +75,8 @@ public class BauSystem extends JavaPlugin implements Listener {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
System.out.println(Bukkit.getWorlds().get(0).getWorldFolder().getAbsolutePath());
|
||||||
|
|
||||||
getCommand("trace").setExecutor(new CommandTrace());
|
getCommand("trace").setExecutor(new CommandTrace());
|
||||||
getCommand("trace").setTabCompleter(new CommandTraceTabCompleter());
|
getCommand("trace").setTabCompleter(new CommandTraceTabCompleter());
|
||||||
getCommand("tpslimit").setExecutor(new CommandTPSLimiter());
|
getCommand("tpslimit").setExecutor(new CommandTPSLimiter());
|
||||||
|
@ -105,7 +105,7 @@ public class Region {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static class Prototype{
|
public static class Prototype{
|
||||||
private static final String SECTION_PATH = "/home/minecraft/backbone/server/UserBau/";
|
private static final String SECTION_PATH = Bukkit.getWorlds().get(0).getWorldFolder().getAbsolutePath() + "/";
|
||||||
private static final Map<String, Prototype> prototypes = new HashMap<>();
|
private static final Map<String, Prototype> prototypes = new HashMap<>();
|
||||||
|
|
||||||
private final int sizeX;
|
private final int sizeX;
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren