Removed unused import

This commit is contained in:
stijnb1234 2021-04-10 17:53:59 +02:00
parent a1e158eb01
commit a2228fecb7

View file

@ -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<String, Floor> 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)) {