ManagedScript should store a copy of current loading script path.
This commit is contained in:
		| @@ -288,7 +288,7 @@ public class AdminQuest implements IAdminCommandHandler | ||||
| 			final NpcHtmlMessage msg = new NpcHtmlMessage(0, 1); | ||||
| 			msg.setFile(activeChar, "data/html/admin/npc-quests.htm"); | ||||
| 			msg.replace("%quests%", sb.toString()); | ||||
| 			msg.replace("%questName%", "<table><tr><td width=\"50\" align=\"left\"><a action=\"bypass -h admin_script_load " + quest.getName() + "\">Reload</a></td> <td width=\"150\"  align=\"center\"><a action=\"bypass -h admin_quest_info " + quest.getName() + "\">" + quest.getName() + "</a></td> <td width=\"50\" align=\"right\"><a action=\"bypass -h admin_script_unload " + quest.getName() + "\">Unload</a></td></tr></table>"); | ||||
| 			msg.replace("%questName%", "<table><tr><td width=\"50\" align=\"left\"><a action=\"bypass -h admin_quest_reload " + quest.getName() + "\">Reload</a></td> <td width=\"150\"  align=\"center\"><a action=\"bypass -h admin_quest_info " + quest.getName() + "\">" + quest.getName() + "</a></td> <td width=\"50\" align=\"right\"><a action=\"bypass -h admin_script_unload " + quest.getName() + "\">Unload</a></td></tr></table>"); | ||||
| 			activeChar.sendPacket(msg); | ||||
| 		} | ||||
| 		return true; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 MobiusDevelopment
					MobiusDevelopment