Fix the header being incorrect when listing prisoners
This commit is contained in:
parent
7ce81c774f
commit
96a58aa3df
@ -22,7 +22,7 @@ import com.graywolf336.jail.enums.LangString;
|
||||
)
|
||||
public class JailListCommand implements Command {
|
||||
public boolean execute(JailManager jm, CommandSender sender, String... args) {
|
||||
sender.sendMessage(ChatColor.AQUA + "----------Jails----------");
|
||||
sender.sendMessage(ChatColor.AQUA + "----------" + (args.length == 1 ? "Jails" : "Prisoners") + "----------");
|
||||
|
||||
//Check if there are any jails
|
||||
if(jm.getJails().isEmpty()) {
|
||||
|
Loading…
Reference in New Issue
Block a user