diff --git a/pom.xml b/pom.xml index 06a10c4..b6d5100 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ me.tecnio AntiHaxerman - 4.0 + 4.0.1 8 diff --git a/src/main/java/me/tecnio/ahm/data/tracker/impl/GhostBlockTracker.java b/src/main/java/me/tecnio/ahm/data/tracker/impl/GhostBlockTracker.java index 2fdacd9..72d40ae 100644 --- a/src/main/java/me/tecnio/ahm/data/tracker/impl/GhostBlockTracker.java +++ b/src/main/java/me/tecnio/ahm/data/tracker/impl/GhostBlockTracker.java @@ -8,8 +8,8 @@ import me.tecnio.ahm.data.PlayerData; import me.tecnio.ahm.data.tracker.Tracker; import me.tecnio.ahm.exempt.ExemptType; +import me.tecnio.ahm.util.type.EvictingMap; -import java.util.HashMap; import java.util.Map; /** @@ -17,7 +17,7 @@ */ public class GhostBlockTracker extends Tracker { - private final Map blockMap = new HashMap<>(); + private final Map blockMap = new EvictingMap<>(10); private double buffer; public GhostBlockTracker(final PlayerData data) { diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 5ab22c3..30cb4e6 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,5 +1,5 @@ name: AntiHaxerman -version: 4.0.0 +version: 4.0.1 main: me.tecnio.ahm.AHMPlugin authors: [Tecnio, Incognito, aSwitch] description: An open-sourced anti-cheat solution.