mirror of
https://github.com/TuxCoding/FastLogin.git
synced 2025-07-29 18:27:36 +02:00
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.
This commit is contained in:
@ -92,7 +92,7 @@ public class FastLoginBungee extends Plugin implements PlatformPlugin<CommandSen
|
||||
String floodgateVersion = "0";
|
||||
Plugin floodgatePlugin = pluginManager.getPlugin("floodgate");
|
||||
if (floodgatePlugin != null) {
|
||||
floodgatePlugin.getDescription().getVersion();
|
||||
floodgateVersion = floodgatePlugin.getDescription().getVersion();
|
||||
}
|
||||
|
||||
ConnectListener connectListener = new ConnectListener(this, core.getRateLimiter(), floodgateVersion);
|
||||
|
Reference in New Issue
Block a user