mirror of
https://github.com/TuxCoding/FastLogin.git
synced 2025-07-30 10:47:33 +02:00
Merge pull request #528 from Smart123s/patch-1
Actually assign the queried version to a variable
This commit is contained in:
@ -92,7 +92,7 @@ public class FastLoginBungee extends Plugin implements PlatformPlugin<CommandSen
|
|||||||
String floodgateVersion = "0";
|
String floodgateVersion = "0";
|
||||||
Plugin floodgatePlugin = pluginManager.getPlugin("floodgate");
|
Plugin floodgatePlugin = pluginManager.getPlugin("floodgate");
|
||||||
if (floodgatePlugin != null) {
|
if (floodgatePlugin != null) {
|
||||||
floodgatePlugin.getDescription().getVersion();
|
floodgateVersion = floodgatePlugin.getDescription().getVersion();
|
||||||
}
|
}
|
||||||
|
|
||||||
ConnectListener connectListener = new ConnectListener(this, core.getRateLimiter(), floodgateVersion);
|
ConnectListener connectListener = new ConnectListener(this, core.getRateLimiter(), floodgateVersion);
|
||||||
|
Reference in New Issue
Block a user