Ver código fonte

Debug cleanup for missing text on tutorial, thanks Kerberos.

Ahmed 17 anos atrás
pai
commit
07e8445204

+ 2 - 1
L2_GameServer_T1/java/net/sf/l2j/gameserver/model/quest/QuestState.java

@@ -821,7 +821,8 @@ public final class QuestState
 	public void showTutorialHTML(String html)
 	{
 		String text = HtmCache.getInstance().getHtm("data/scripts/quests/255_Tutorial/"+ html);
-		if(text == null || text.equalsIgnoreCase(""))
+		if(text == null)
+			_log.warning("missing html page data/scripts/quests/255_Tutorial/"+html);
 			text = "<html><body>File data/scripts/quests/255_Tutorial/" + html + " not found or file is empty.</body></html>";
 		getPlayer().sendPacket(new TutorialShowHtml(text));
 	}