Rename method

This commit is contained in:
filoghost 2021-12-14 21:38:04 +01:00
parent 6ac35d3d62
commit b23abef7ab
2 changed files with 4 additions and 4 deletions

View File

@ -53,7 +53,7 @@ public class ActivePlaceholderTracker implements PlaceholderReplaceFunction {
});
}
public void clearUnusedEntries() {
public void clearInactivePlaceholders() {
activePlaceholders.clearUnusedEntries(tickClock.getCurrentTick());
}

View File

@ -6,8 +6,8 @@
package me.filoghost.holographicdisplays.plugin.tick;
import me.filoghost.fcommons.logging.Log;
import me.filoghost.holographicdisplays.plugin.listener.LineClickListener;
import me.filoghost.holographicdisplays.plugin.hologram.tracking.LineTrackerManager;
import me.filoghost.holographicdisplays.plugin.listener.LineClickListener;
import me.filoghost.holographicdisplays.plugin.placeholder.tracking.ActivePlaceholderTracker;
public class TickingTask implements Runnable {
@ -48,8 +48,8 @@ public class TickingTask implements Runnable {
}
}
// Remove entries which were not used by line trackers
placeholderTracker.clearUnusedEntries();
// Remove placeholders which were not used by line trackers
placeholderTracker.clearInactivePlaceholders();
lineClickListener.processQueuedClickEvents();
}