Implement Linkage for LobbySystem

This commit is contained in:
2025-10-03 13:23:33 +02:00
parent 22d1e15ae0
commit 33b606060a
37 changed files with 111 additions and 111 deletions
@@ -35,15 +35,9 @@ public class AdventsCalendar {
private static List<Present> presentList = new ArrayList<>();
private static File file = new File(LobbySystem.getPlugin().getDataFolder(), "presents.yml");
private static File file = new File(LobbySystem.getInstance().getDataFolder(), "presents.yml");
private static FileConfiguration fileConfiguration = YamlConfiguration.loadConfiguration(file);
public static void init() {
new AdventCommand();
new AdventListener();
new PresentClickListener();
}
static {
for (int i = 1; i <= 31; i++) {
if (i > 24 && i < 31) continue;