Made colors load from jar when not found in filesystem.

This commit is contained in:
FrozenCow 2011-01-13 11:18:54 +01:00
parent 4f0e89b1d8
commit 342a72f39f
4 changed files with 98 additions and 79 deletions

View file

@ -82,6 +82,12 @@ public class MapManager extends Thread {
this.debugger = debugger;
this.staleQueue = new StaleQueue();
File tilepathFile = new File(tilepath);
if (!tilepathFile.isDirectory())
tilepathFile.mkdirs();
serverport = 8123;
bindaddress = "0.0.0.0";
//webPath = "/srv/http/dynmap/";