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)) {