Skip to content

Commit

Permalink
Fix build, formatting
Browse files Browse the repository at this point in the history
Careful, contributors...
  • Loading branch information
mcmonkey4eva committed Oct 17, 2014
1 parent 306bc2f commit 00bc297
Showing 1 changed file with 5 additions and 4 deletions.
Expand Up @@ -8,6 +8,7 @@

import net.citizensnpcs.api.CitizensAPI;

import org.bukkit.ChatColor;
import org.bukkit.entity.EntityType;
import org.bukkit.entity.Player;
import org.bukkit.event.Listener;
Expand All @@ -31,7 +32,7 @@ public static enum KillType { NPC, PLAYER, GROUP, ENTITY }
// The targets
//
dList targets;

//
// The names
//
Expand Down Expand Up @@ -95,7 +96,7 @@ else if (arg.matchesPrefix("mobnames, mn")) {
if (names == null) {
names = new dList("*");
}

if (type == null) {
dB.echoError("Missing TYPE argument! Valid: NPC, ENTITY, PLAYER, GROUP");
cancel();
Expand Down Expand Up @@ -340,8 +341,8 @@ else if (event.getValue().equalsIgnoreCase("targets")) {
targetList = targetList.substring(0, targetList.length() - 1);
}
event.setReplaced(targetList);
}
}

else if (event.getValue().equalsIgnoreCase("mobnames")){
String namesList = "";
for (String curNam : names){
Expand Down

0 comments on commit 00bc297

Please sign in to comment.