mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-28 05:05:16 +01:00
Fixed tiles not being loaded from tilespath.
This commit is contained in:
parent
502fbd5829
commit
22850982a9
@ -431,11 +431,11 @@ public class DynmapPlugin extends JavaPlugin implements DynmapAPI {
|
||||
this.setDirectoriesListed(true);
|
||||
this.setBaseResource(createFileResource(getFile(getWebPath()).getAbsolutePath()));
|
||||
}});
|
||||
this.addHandler("/tiles/", new ResourceHandler() {{
|
||||
this.addHandler("/tiles/*", new ResourceHandler() {{
|
||||
this.setAliases(allow_symlinks);
|
||||
this.setWelcomeFiles(new String[] { });
|
||||
this.setDirectoriesListed(true);
|
||||
this.setBaseResource(createFileResource(tilesDirectory.toString()));
|
||||
this.setBaseResource(createFileResource(tilesDirectory.getAbsolutePath()));
|
||||
}});
|
||||
}};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user