[Classic] Support for walking routes.
This commit is contained in:
@ -27,6 +27,7 @@ import org.w3c.dom.Document;
|
||||
import org.w3c.dom.NamedNodeMap;
|
||||
import org.w3c.dom.Node;
|
||||
|
||||
import com.l2jserver.Config;
|
||||
import com.l2jserver.gameserver.ThreadPoolManager;
|
||||
import com.l2jserver.gameserver.ai.CtrlIntention;
|
||||
import com.l2jserver.gameserver.enums.ChatType;
|
||||
@ -74,7 +75,7 @@ public final class WalkingManager implements IXmlReader
|
||||
@Override
|
||||
public final void load()
|
||||
{
|
||||
parseDatapackFile("data/Routes.xml");
|
||||
parseDatapackFile(Config.SERVER_CLASSIC_SUPPORT ? "data/classic_routes.xml" : "data/Routes.xml");
|
||||
LOGGER.info(getClass().getSimpleName() + ": Loaded " + _routes.size() + " walking routes.");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user