1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-20 05:21:21 +02:00

Assign EssentialsTimer to the declared variable. Fixes gc

This commit is contained in:
ementalo
2012-06-26 14:40:54 +01:00
parent 39c8355ed7
commit a46f194832

View File

@@ -243,7 +243,7 @@ public class Essentials extends JavaPlugin implements IEssentials
pm.registerEvents(tntListener, this);
final EssentialsTimer timer = new EssentialsTimer(this);
timer = new EssentialsTimer(this);
getServer().getScheduler().scheduleSyncRepeatingTask(this, timer, 1, 100);
execTimer.mark("RegListeners");