Add LootItems configuration support and reload handling
This commit is contained in:
parent
646b9a2a35
commit
10a6103f32
|
|
@ -2,6 +2,7 @@ package com.alttd.hunger_games;
|
||||||
|
|
||||||
import com.alttd.hunger_games.commands.BaseCommand;
|
import com.alttd.hunger_games.commands.BaseCommand;
|
||||||
import com.alttd.hunger_games.config.Config;
|
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.config.Messages;
|
||||||
import com.alttd.hunger_games.event_listeners.ChestListener;
|
import com.alttd.hunger_games.event_listeners.ChestListener;
|
||||||
import com.alttd.hunger_games.event_listeners.PlayerDamageListener;
|
import com.alttd.hunger_games.event_listeners.PlayerDamageListener;
|
||||||
|
|
@ -66,6 +67,7 @@ public final class Main extends JavaPlugin {
|
||||||
public void reloadConfigs() {
|
public void reloadConfigs() {
|
||||||
Config.reload();
|
Config.reload();
|
||||||
Messages.reload();
|
Messages.reload();
|
||||||
|
LootItems.reload();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void registerSchedulers() {
|
private void registerSchedulers() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user