Skip to content

Commit 2fdcc34

Browse files
committed
Don't store 'plugin' in BukkitScheduler
1 parent 66a51a8 commit 2fdcc34

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

bukkit/src/main/java/com/github/games647/fastlogin/bukkit/BukkitScheduler.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,10 @@
3636

3737
public class BukkitScheduler extends AsyncScheduler {
3838

39-
private final Plugin plugin;
4039
private final Executor syncExecutor;
4140

4241
public BukkitScheduler(Plugin plugin, Logger logger, ThreadFactory threadFactory) {
4342
super(logger, threadFactory);
44-
this.plugin = plugin;
4543

4644
syncExecutor = r -> Bukkit.getScheduler().runTask(plugin, r);
4745
}

0 commit comments

Comments
 (0)