mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2024-09-06 12:38:07 +02:00
Now you can say /mvpurge pig rather than /mvpurge PIG
This commit is contained in:
parent
6858c878d3
commit
f7ded5f129
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user