Bläddra i källkod

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 år sedan
förälder
incheckning
790979de65
1 ändrade filer med 6 tillägg och 0 borttagningar
  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>