Browse Source

Add previously removed sendCBHtml method as deprecated method so
datapack scripts do not fail(ClanBoard community board handler in this
case). The datapack side should update the ClanBoard.java to use the new
method with the npc object id parameter as -1.

HorridoJoho 10 năm trước cách đây
mục cha
commit
790979de65
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  1. 6 0
      L2J_Server/java/com/l2jserver/gameserver/util/Util.java

+ 6 - 0
L2J_Server/java/com/l2jserver/gameserver/util/Util.java

@@ -647,6 +647,12 @@ public final class Util
 		sendCBHtml(activeChar, html, fillMultiEdit, 0);
 	}
 	
+	@Deprecated
+	public static void sendCBHtml(L2PcInstance activeChar, String html, String fillMultiEdit, boolean buildHtmlActionCache)
+	{
+		sendCBHtml(activeChar, html, fillMultiEdit, buildHtmlActionCache ? 0 : -1);
+	}
+	
 	/**
 	 * Helper method to send a community board html to the specified player.<br>
 	 * It fills a multiedit field in the send html if {@code fillMultiEdit}<br>