mirror of
https://github.com/songoda/EpicVouchers.git
synced 2024-11-14 22:25:29 +01:00
Actually load the vouchers config.
This commit is contained in:
parent
864b209c70
commit
03af751c1a
@ -106,6 +106,7 @@ public class EpicVouchers extends SongodaPlugin {
|
||||
|
||||
private void loadVouchersFromFile() {
|
||||
vouchers.clear();
|
||||
vouchersConfig.load();
|
||||
|
||||
if (vouchersConfig.contains("vouchers")) {
|
||||
for (String key : vouchersConfig.getConfigurationSection("vouchers").getKeys(false)) {
|
||||
|
Loading…
Reference in New Issue
Block a user