use of io.github.nucleuspowered.nucleus.modules.kit.config.KitConfigAdapter in project Nucleus by NucleusPowered.
the class KitCommand method onReload.
@Override
public void onReload() throws Exception {
KitConfigAdapter kca = getServiceUnchecked(KitConfigAdapter.class);
this.isDrop = kca.getNodeOrDefault().isDropKitIfFull();
this.mustGetAll = kca.getNodeOrDefault().isMustGetAll();
}
use of io.github.nucleuspowered.nucleus.modules.kit.config.KitConfigAdapter in project Nucleus by NucleusPowered.
the class KitListener method onReload.
@Override
public void onReload() throws Exception {
KitConfigAdapter kca = getServiceUnchecked(KitConfigAdapter.class);
this.isSepratePermissions = kca.getNodeOrDefault().isSeparatePermissions();
this.mustGetAll = kca.getNodeOrDefault().isMustGetAll();
}
use of io.github.nucleuspowered.nucleus.modules.kit.config.KitConfigAdapter in project Nucleus by NucleusPowered.
the class KitGiveCommand method onReload.
@Override
public void onReload() throws Exception {
KitConfigAdapter kca = getServiceUnchecked(KitConfigAdapter.class);
this.isDrop = kca.getNodeOrDefault().isDropKitIfFull();
this.mustGetAll = kca.getNodeOrDefault().isMustGetAll();
}
Aggregations