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
commit0d4cece3909499c04359d6abd5f06d942bb0572b (patch)
tree3f3fe5a8043ae9e90f7da0d6343632950fa50e98
parentf75f69ca4272ee31ebd3f271a53aef0fb4bc847e (diff)
downloadEssentials-0d4cece3909499c04359d6abd5f06d942bb0572b.tar
Essentials-0d4cece3909499c04359d6abd5f06d942bb0572b.tar.gz
Essentials-0d4cece3909499c04359d6abd5f06d942bb0572b.tar.lz
Essentials-0d4cece3909499c04359d6abd5f06d942bb0572b.tar.xz
Essentials-0d4cece3909499c04359d6abd5f06d942bb0572b.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)
{