From 0d4cece3909499c04359d6abd5f06d942bb0572b Mon Sep 17 00:00:00 2001 From: KHobbits Date: Sun, 10 Jun 2012 19:36:31 +0100 Subject: Fix bug with /remove and minecarts --- Essentials/src/com/earth2me/essentials/commands/Commandremove.java | 4 ++-- 1 file 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) { -- cgit v1.2.3