瀏覽代碼

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 年之前
父節點
當前提交
790979de65
共有 1 個文件被更改,包括 6 次插入0 次删除
  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>