mirror of
https://github.com/songoda/EpicVouchers.git
synced 2024-11-22 01:56:21 +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