Add LootItems configuration support and reload handling

This commit is contained in:
akastijn 2026-06-21 23:56:12 +02:00
parent 646b9a2a35
commit 10a6103f32

View File

@ -2,6 +2,7 @@ package com.alttd.hunger_games;
import com.alttd.hunger_games.commands.BaseCommand;
import com.alttd.hunger_games.config.Config;
import com.alttd.hunger_games.config.LootItems;
import com.alttd.hunger_games.config.Messages;
import com.alttd.hunger_games.event_listeners.ChestListener;
import com.alttd.hunger_games.event_listeners.PlayerDamageListener;
@ -66,6 +67,7 @@ public final class Main extends JavaPlugin {
public void reloadConfigs() {
Config.reload();
Messages.reload();
LootItems.reload();
}
private void registerSchedulers() {