diff --git a/pom.xml b/pom.xml
index c478bc9..492b700 100644
--- a/pom.xml
+++ b/pom.xml
@@ -190,7 +190,6 @@
2.9.10.1
-
org.bstats
diff --git a/src/main/lombok/nl/SBDeveloper/V10Lift/Commands/V10LiftCommand.java b/src/main/lombok/nl/SBDeveloper/V10Lift/Commands/V10LiftCommand.java
index 1eabe85..9e05202 100644
--- a/src/main/lombok/nl/SBDeveloper/V10Lift/Commands/V10LiftCommand.java
+++ b/src/main/lombok/nl/SBDeveloper/V10Lift/Commands/V10LiftCommand.java
@@ -282,14 +282,14 @@ public class V10LiftCommand implements CommandExecutor {
Lift lift = DataManager.getLift(liftName);
if (!lift.getQueue().isEmpty()) lift.getQueue().clear();
- if (!DataManager.containsMovingTask(args[1])) {
- sender.sendMessage(ChatColor.RED + "Lift " + args[1] + " doesn't contain any movingtasks!");
+ if (!DataManager.containsMovingTask(liftName)) {
+ sender.sendMessage(ChatColor.RED + "Lift " + liftName + " doesn't contain any movingtasks!");
return true;
}
- Bukkit.getScheduler().cancelTask(DataManager.getMovingTask(args[1]));
- DataManager.removeMovingTask(args[1]);
- sender.sendMessage(ChatColor.GREEN + "Lift " + args[1] + " stopped!");
+ Bukkit.getScheduler().cancelTask(DataManager.getMovingTask(liftName));
+ DataManager.removeMovingTask(liftName);
+ sender.sendMessage(ChatColor.GREEN + "Lift " + liftName + " stopped!");
return true;
}
diff --git a/src/main/lombok/nl/SBDeveloper/V10Lift/V10LiftPlugin.java b/src/main/lombok/nl/SBDeveloper/V10Lift/V10LiftPlugin.java
index e662d9f..b4275d9 100644
--- a/src/main/lombok/nl/SBDeveloper/V10Lift/V10LiftPlugin.java
+++ b/src/main/lombok/nl/SBDeveloper/V10Lift/V10LiftPlugin.java
@@ -109,5 +109,4 @@ public class V10LiftPlugin extends JavaPlugin {
public static V10LiftAPI getAPI() {
return api;
}
-
}