summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2012-06-10 19:36:31 +0100
committerKHobbits <rob@khobbits.co.uk>2012-06-10 19:36:31 +0100
commit3b855255cfa3fb919929c2d6de0041fcf9e5fd72 (patch)
treef008ab4fc10cb91638768d6ef1072ff48ef3384c
parent23283426e07aa70a47dcacff3a2c4aefb0aa9efd (diff)
downloadEssentials-3b855255cfa3fb919929c2d6de0041fcf9e5fd72.tar
Essentials-3b855255cfa3fb919929c2d6de0041fcf9e5fd72.tar.gz
Essentials-3b855255cfa3fb919929c2d6de0041fcf9e5fd72.tar.lz
Essentials-3b855255cfa3fb919929c2d6de0041fcf9e5fd72.tar.xz
Essentials-3b855255cfa3fb919929c2d6de0041fcf9e5fd72.zip
Fix bug with /remove and minecarts
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandremove.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandremove.java b/Essentials/src/com/earth2me/essentials/commands/Commandremove.java
index 912434f08..0957a7989 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandremove.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandremove.java
@@ -9,7 +9,7 @@ import org.bukkit.World;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.*;
-
+//Todo: Fix this up
public class Commandremove extends EssentialsCommand
{
public Commandremove()
@@ -131,7 +131,7 @@ public class Commandremove extends EssentialsCommand
removed++;
}
}
- else if (toRemove == ToRemove.DROPS)
+ else if (toRemove == ToRemove.MINECARTS)
{
if (e instanceof Minecart)
{