From f7ded5f129bab357ac3459caf7a91bdab356f3a0 Mon Sep 17 00:00:00 2001 From: Eric Stokes Date: Thu, 30 Jun 2011 17:45:49 -0600 Subject: [PATCH] Now you can say /mvpurge pig rather than /mvpurge PIG --- .../MultiverseCore/command/commands/PurgeCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/onarandombox/MultiverseCore/command/commands/PurgeCommand.java b/src/com/onarandombox/MultiverseCore/command/commands/PurgeCommand.java index 4297daae..aa002471 100644 --- a/src/com/onarandombox/MultiverseCore/command/commands/PurgeCommand.java +++ b/src/com/onarandombox/MultiverseCore/command/commands/PurgeCommand.java @@ -59,7 +59,7 @@ public class PurgeCommand extends BaseCommand { if(deathName.equalsIgnoreCase("all") || deathName.equalsIgnoreCase("animals") || deathName.equalsIgnoreCase("monsters")) { thingsToKill.add(deathName.toUpperCase()); } else { - Collections.addAll(thingsToKill, deathName.split(",")); + Collections.addAll(thingsToKill, deathName.toUpperCase().split(",")); } purger.purgeWorld(sender, world, thingsToKill, false, false);