#1018 Load group names when AuthGroupHandler is constructed

This commit is contained in:
ljacqu 2016-11-26 16:34:14 +01:00
parent 57e7c71d72
commit 5ec1c3fe24

View File

@ -10,6 +10,7 @@ import fr.xephi.authme.settings.properties.PluginSettings;
import fr.xephi.authme.settings.properties.SecuritySettings;
import org.bukkit.entity.Player;
import javax.annotation.PostConstruct;
import javax.inject.Inject;
import java.util.Arrays;
@ -115,6 +116,7 @@ public class AuthGroupHandler implements Reloadable {
}
@Override
@PostConstruct
public void reload() {
unloggedInGroup = settings.getProperty(SecuritySettings.UNLOGGEDIN_GROUP);
unregisteredGroup = settings.getProperty(HooksSettings.UNREGISTERED_GROUP);