From 558267aa9b82cab179107199eec84e1dea46e32d Mon Sep 17 00:00:00 2001 From: MobiusDev <8391001+MobiusDevelopment@users.noreply.github.com> Date: Thu, 5 Jan 2017 20:16:17 +0000 Subject: [PATCH] Replacement for unknown icons. --- .../scripts/handlers/communityboard/DropSearchBoard.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/handlers/communityboard/DropSearchBoard.java b/L2J_Mobius_Underground/dist/game/data/scripts/handlers/communityboard/DropSearchBoard.java index 19d01e448e..6ac26bbf49 100644 --- a/L2J_Mobius_Underground/dist/game/data/scripts/handlers/communityboard/DropSearchBoard.java +++ b/L2J_Mobius_Underground/dist/game/data/scripts/handlers/communityboard/DropSearchBoard.java @@ -275,8 +275,14 @@ public class DropSearchBoard implements IParseBoardHandler builder.append(""); } + String icon = item.getIcon(); + if (icon == null) + { + icon = "icon.etc_question_mark_i00"; + } + builder.append(""); - builder.append("