- Баллы
- 98
- Имя в Minecraft
- Planet0111
Вот код
Что тут не так?
Java:
public class PluginConfig
{
private static FileConfiguration storage;
private static Location lobbySpawn;
private static List<String> whitelistedCommands = ;
static
{
storage = SkyWars.get().getConfig();
lobbySpawn = LocationUtil.getLocation(Bukkit.getWorld(storage.getString("lobby.world")), storage.getString("lobby.spawn"));
if (storage.contains("whitelisted-commands")) {
whitelistedCommands = storage.getStringList("whitelisted-commands");
}
}
public static Location getLobbySpawn()
Последнее редактирование: