File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/main/java/ad1tya2/adiauth/Bungee Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,8 @@ public static void load() {
130130 Discord .bot_token = discord .getString ("bot-token" );
131131 Discord .compulsory_for = discord .getStringList ("compulsory-for" );
132132 Discord .enabled = discord .getBoolean ("enabled" );
133- Discord .compulsory_for_enabled = AdiAuth .instance .getProxy ().getPluginManager ().getPlugin ("LuckPerms" ) != null
133+ Discord .compulsory_for_enabled = Discord .enabled &&
134+ AdiAuth .instance .getProxy ().getPluginManager ().getPlugin ("LuckPerms" ) != null
134135 && Discord .compulsory_for .size () != 0 ;
135136 Discord .loginButtonChannel = discord .getString ("loginButtonChannel" );
136137 Discord .activityStatus = discord .getString ("activityStatus" );
You can’t perform that action at this time.
0 commit comments