mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-06 16:49:07 +00:00
Cmd linux server support
This commit is contained in:
@@ -39,8 +39,8 @@ public class NpcHandler {
|
||||
for (int i = 0; i < maxListedNPCs; i++) {
|
||||
NpcList[i] = null;
|
||||
}
|
||||
loadNPCList("./data/CFG/npc.cfg");
|
||||
loadAutoSpawn("./data/CFG/spawn-config.cfg");
|
||||
loadNPCList("./data/cfg/npc.cfg");
|
||||
loadAutoSpawn("./data/cfg/spawn-config.cfg");
|
||||
}
|
||||
|
||||
public static boolean isUndead(int index) {
|
||||
|
||||
@@ -114,7 +114,7 @@ public class ShopHandler {
|
||||
boolean EndOfFile = false;
|
||||
BufferedReader characterfile = null;
|
||||
try {
|
||||
characterfile = new BufferedReader(new FileReader("./data/CFG/" + FileName));
|
||||
characterfile = new BufferedReader(new FileReader("./data/cfg/" + FileName));
|
||||
} catch (FileNotFoundException fileex) {
|
||||
Misc.println(FileName + ": file not found.");
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user