From a2228fecb736b06c54a40753a00bfef5455fca5c Mon Sep 17 00:00:00 2001 From: stijnb1234 Date: Sat, 10 Apr 2021 17:53:59 +0200 Subject: [PATCH] Removed unused import --- src/main/lombok/nl/SBDeveloper/V10Lift/api/V10LiftAPI.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/lombok/nl/SBDeveloper/V10Lift/api/V10LiftAPI.java b/src/main/lombok/nl/SBDeveloper/V10Lift/api/V10LiftAPI.java index 05b71d5..26d6445 100644 --- a/src/main/lombok/nl/SBDeveloper/V10Lift/api/V10LiftAPI.java +++ b/src/main/lombok/nl/SBDeveloper/V10Lift/api/V10LiftAPI.java @@ -11,7 +11,6 @@ import nl.SBDeveloper.V10Lift.sbutils.LocationSerializer; import nl.SBDeveloper.V10Lift.utils.ConfigUtil; import nl.SBDeveloper.V10Lift.utils.DirectionUtil; import nl.SBDeveloper.V10Lift.utils.DoorUtil; -import org.apache.commons.collections4.map.LinkedMap; import org.bukkit.*; import org.bukkit.block.Block; import org.bukkit.block.BlockFace; @@ -942,7 +941,7 @@ public class V10LiftAPI { if (liftName == null || queue == null || !DataManager.containsLift(liftName)) return false; Lift lift = DataManager.getLift(liftName); - lift.setQueue(new LinkedMap<>()); + lift.setQueue(new LinkedHashMap<>()); for (Map.Entry e : queue.entrySet()) { addToQueue(liftName, e.getValue(), e.getKey()); } @@ -990,7 +989,7 @@ public class V10LiftAPI { Lift l = DataManager.getLift(lift); if (l.getQueue() == null) { - l.setQueue(new LinkedMap<>()); + l.setQueue(new LinkedHashMap<>()); } if (!l.getQueue().containsValue(floor)) {