Skip to content

Commit a8c1570

Browse files
authored
Actually assign the queried version to a variable
The Floodgate version was queried, but it's return value wasn't actually assigned to a variable. Edited this from mobile GitHub website. I have no code check here.
1 parent 3d65a33 commit a8c1570

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)