Dieser Commit ist enthalten in:
Ursprung
65ef082ddb
Commit
c06c094d41
@ -16,20 +16,19 @@ public class EggHunt {
|
||||
public static final String EGG_HUNT_CONFIG_KEY = "egghunt2023";
|
||||
|
||||
public static void init() {
|
||||
}
|
||||
|
||||
static {
|
||||
new EggHuntCommand();
|
||||
new EggClickListener();
|
||||
new EggHuntListener();
|
||||
}
|
||||
|
||||
static {
|
||||
File file = new File(LobbySystem.getPlugin().getDataFolder(), "eggs.yml");
|
||||
FileConfiguration fileConfiguration = YamlConfiguration.loadConfiguration(file);
|
||||
fileConfiguration.getList("eggs")
|
||||
.forEach(o -> {
|
||||
if (!(o instanceof Map)) return;
|
||||
eggList.add(new Egg((Map) o));
|
||||
});
|
||||
.forEach(o -> {
|
||||
if (!(o instanceof Map)) return;
|
||||
eggList.add(new Egg((Map) o));
|
||||
});
|
||||
}
|
||||
|
||||
public static List<Egg> getEggList() {
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren