mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-04-26 16:39:45 +00:00
Fix bug with /remove and minecarts
This commit is contained in:
parent
23283426e0
commit
3b855255cf
1 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ import org.bukkit.World;
|
||||||
import org.bukkit.command.CommandSender;
|
import org.bukkit.command.CommandSender;
|
||||||
import org.bukkit.entity.*;
|
import org.bukkit.entity.*;
|
||||||
|
|
||||||
|
//Todo: Fix this up
|
||||||
public class Commandremove extends EssentialsCommand
|
public class Commandremove extends EssentialsCommand
|
||||||
{
|
{
|
||||||
public Commandremove()
|
public Commandremove()
|
||||||
|
@ -131,7 +131,7 @@ public class Commandremove extends EssentialsCommand
|
||||||
removed++;
|
removed++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (toRemove == ToRemove.DROPS)
|
else if (toRemove == ToRemove.MINECARTS)
|
||||||
{
|
{
|
||||||
if (e instanceof Minecart)
|
if (e instanceof Minecart)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue