From 5ec1c3fe24cfec1ec73492fdd82bd2f58854f6b7 Mon Sep 17 00:00:00 2001 From: ljacqu Date: Sat, 26 Nov 2016 16:34:14 +0100 Subject: [PATCH] #1018 Load group names when AuthGroupHandler is constructed --- src/main/java/fr/xephi/authme/permission/AuthGroupHandler.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/fr/xephi/authme/permission/AuthGroupHandler.java b/src/main/java/fr/xephi/authme/permission/AuthGroupHandler.java index 492c69115..537c3ebc5 100644 --- a/src/main/java/fr/xephi/authme/permission/AuthGroupHandler.java +++ b/src/main/java/fr/xephi/authme/permission/AuthGroupHandler.java @@ -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);