// Send a Server->Client ActionFailed to the L2PcInstance in order to avoid that the client wait another packet player.sendPacket(new ActionFailed()); } private void showMessageWindow(L2PcInstance player) { String filename = "data/html/npcdefault.htm"; String replace = ""; int factionId = getTemplate().getNpcFaction(); String factionName = getTemplate().getNpcFactionName(); if(factionId!=0) { filename = "data/html/faction/" + String.valueOf(factionId) + "/start.htm"; replace = getName(); } sendHtmlMessage(player, filename, replace, factionName); } @Override public void onBypassFeedback(L2PcInstance player, String command) { // standard msg String filename = "data/html/npcdefault.htm"; String factionName = getTemplate().getNpcFactionName(); int factionId = getTemplate().getNpcFaction(); Faction faction = FactionManager.getInstance().getFactions(factionId); int factionPrice = faction.getPrice(); String replace = ""; if(factionId!=0) { String path = "data/html/faction" + String.valueOf(factionId) + "/"; replace = String.valueOf(factionPrice); if(player.getNPCFaction()!=null) {