More fixes and improvements - continued

This commit is contained in:
ShadowRanger
2015-06-24 19:19:45 +10:00
parent 2f1fd87435
commit 471b631838
15 changed files with 156 additions and 146 deletions

View File

@@ -42,7 +42,7 @@ public class SearchInvCommand implements CommandExecutor {
int count = 1;
if (args.length >= 1) {
String[] gData = null;
String[] gData;
gData = args[0].split(":");
material = Material.matchMaterial(gData[0]);
}
@@ -71,7 +71,7 @@ public class SearchInvCommand implements CommandExecutor {
}
String playerList = sb.toString();
sender.sendMessage("Players with the item " + material.toString() + ": " + playerList);
sender.sendMessage("Players with the item " + ChatColor.GRAY + material.toString() + ChatColor.RESET + " in their inventory: " + playerList);
return true;
}