Replacement for unknown icons.

This commit is contained in:
MobiusDev 2017-01-05 20:16:17 +00:00
parent 313b7aa796
commit 558267aa9b

View File

@ -275,8 +275,14 @@ public class DropSearchBoard implements IParseBoardHandler
builder.append("<tr>");
}
String icon = item.getIcon();
if (icon == null)
{
icon = "icon.etc_question_mark_i00";
}
builder.append("<td>");
builder.append("<button value=\".\" action=\"bypass _bbs_search_drop " + item.getId() + " 1 $order $level\" width=32 height=32 back=\"" + item.getIcon() + "\" fore=\"" + item.getIcon() + "\">");
builder.append("<button value=\".\" action=\"bypass _bbs_search_drop " + item.getId() + " 1 $order $level\" width=32 height=32 back=\"" + icon + "\" fore=\"" + icon + "\">");
builder.append("</td>");
builder.append("<td width=200>");
builder.append("&#").append(item.getId()).append(";");