Skip to content

Commit 2c3fd4a

Browse files
authored
Return when first auth plugin found
1 parent ab1d3de commit 2c3fd4a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bungee/src/main/java/com/github/games647/fastlogin/bungee/FastLoginBungee.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ private void registerHook() {
129129
logger.info("Hooking into auth plugin: {}", pluginName);
130130
core.setAuthPluginHook(
131131
clazz.getDeclaredConstructor(FastLoginBungee.class).newInstance(this));
132+
break;
132133
}
133134
}
134135
} catch (ReflectiveOperationException ex) {

0 commit comments

Comments
 (0)