소스 검색

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>