Separated the Classic Datapack to it's own folder.
This commit is contained in:
@@ -447,7 +447,7 @@ public class Hero
|
||||
if (mainList != null)
|
||||
{
|
||||
final NpcHtmlMessage diaryReply = new NpcHtmlMessage();
|
||||
final String htmContent = HtmCache.getInstance().getHtm(activeChar.getHtmlPrefix(), "data/html/olympiad/herodiary.htm");
|
||||
final String htmContent = HtmCache.getInstance().getHtm(activeChar.getHtmlPrefix(), "html/olympiad/herodiary.htm");
|
||||
final String heroMessage = HERO_MESSAGE.get(charid);
|
||||
if ((htmContent != null) && (heroMessage != null))
|
||||
{
|
||||
@@ -533,7 +533,7 @@ public class Hero
|
||||
if (heroFights != null)
|
||||
{
|
||||
final NpcHtmlMessage FightReply = new NpcHtmlMessage();
|
||||
final String htmContent = HtmCache.getInstance().getHtm(activeChar.getHtmlPrefix(), "data/html/olympiad/herohistory.htm");
|
||||
final String htmContent = HtmCache.getInstance().getHtm(activeChar.getHtmlPrefix(), "html/olympiad/herohistory.htm");
|
||||
if (htmContent != null)
|
||||
{
|
||||
FightReply.setHtml(htmContent);
|
||||
|
@@ -434,7 +434,7 @@ public final class Instance
|
||||
public void loadInstanceTemplate(String filename)
|
||||
{
|
||||
Document doc = null;
|
||||
File xml = new File(Config.DATAPACK_ROOT, "data/instances/" + filename);
|
||||
File xml = new File(Config.DATAPACK_ROOT, "instances/" + filename);
|
||||
|
||||
try
|
||||
{
|
||||
|
@@ -134,11 +134,11 @@ public class L2Event
|
||||
|
||||
if (_registeredPlayers.contains(player))
|
||||
{
|
||||
htmContent = HtmCache.getInstance().getHtm(player.getHtmlPrefix(), "data/html/mods/EventEngine/Participating.htm");
|
||||
htmContent = HtmCache.getInstance().getHtm(player.getHtmlPrefix(), "html/mods/EventEngine/Participating.htm");
|
||||
}
|
||||
else
|
||||
{
|
||||
htmContent = HtmCache.getInstance().getHtm(player.getHtmlPrefix(), "data/html/mods/EventEngine/Participation.htm");
|
||||
htmContent = HtmCache.getInstance().getHtm(player.getHtmlPrefix(), "html/mods/EventEngine/Participation.htm");
|
||||
}
|
||||
|
||||
if (htmContent != null)
|
||||
@@ -372,7 +372,7 @@ public class L2Event
|
||||
return "Cannot start event, invalid npc id.";
|
||||
}
|
||||
|
||||
try (FileReader fr = new FileReader(Config.DATAPACK_ROOT + "/data/events/" + _eventName);
|
||||
try (FileReader fr = new FileReader(Config.DATAPACK_ROOT + "/events/" + _eventName);
|
||||
BufferedReader br = new BufferedReader(fr))
|
||||
{
|
||||
_eventCreator = br.readLine();
|
||||
|
@@ -77,7 +77,7 @@ public class TvTEvent
|
||||
|
||||
protected static final Logger _log = Logger.getLogger(TvTEvent.class.getName());
|
||||
/** html path **/
|
||||
private static final String htmlPath = "data/scripts/custom/events/TvT/TvTManager/";
|
||||
private static final String htmlPath = "scripts/custom/events/TvT/TvTManager/";
|
||||
/** The teams of the TvTEvent<br> */
|
||||
private static TvTEventTeam[] _teams = new TvTEventTeam[2];
|
||||
/** The state of the TvTEvent<br> */
|
||||
|
Reference in New Issue
Block a user