Skip to content

Commit 1385f0c

Browse files
author
games647
authored
Merge pull request #528 from Smart123s/patch-1
Actually assign the queried version to a variable
2 parents 3d65a33 + a8c1570 commit 1385f0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public void onEnable() {
9292
String floodgateVersion = "0";
9393
Plugin floodgatePlugin = pluginManager.getPlugin("floodgate");
9494
if (floodgatePlugin != null) {
95-
floodgatePlugin.getDescription().getVersion();
95+
floodgateVersion = floodgatePlugin.getDescription().getVersion();
9696
}
9797

9898
ConnectListener connectListener = new ConnectListener(this, core.getRateLimiter(), floodgateVersion);

0 commit comments

Comments
 (0)