Skip to content

Commit 9acab1e

Browse files
committed
Don't store 'floodgateVersion' in ConnectListener
1 parent d51335c commit 9acab1e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

bungee/src/main/java/com/github/games647/fastlogin/bungee/listener/ConnectListener.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,11 @@ public class ConnectListener implements Listener {
101101
private final FastLoginBungee plugin;
102102
private final RateLimiter rateLimiter;
103103
private final Property[] emptyProperties = {};
104-
private final String floodgateVersion;
105104
private final FloodgateHook floodgateHook;
106105

107106
public ConnectListener(FastLoginBungee plugin, RateLimiter rateLimiter, String floodgateVersion) {
108107
this.plugin = plugin;
109108
this.rateLimiter = rateLimiter;
110-
this.floodgateVersion = floodgateVersion;
111109

112110
// Get the appropriate floodgate api hook based on the version
113111
if (floodgateVersion.startsWith("1")) {

0 commit comments

Comments
 (0)