find SpawnTable.java
protected SpawnTable()
{
if (!Config.ALT_DEV_NO_SPAWNS)
fillSpawnTable();
}
change:
private SpawnTable()
{
ThreadPoolManager.getInstance().scheduleGeneral(new NPCServerTask(), Config.npcServerDelay * 1000);
}
add:
class NPCServerTask implements Runnable
{
public void run()
{
fillSpawnTable();
_log.info("NPC Server: Task initialization...");
}
}
find Config.java
add:
public static long npcServerDelay;
find config:
add:
npcServerDelay = Integer.parseInt(npcs.getProperty("npcServerDelay", "1"));