Made use of org.json.simple for updates.
This commit is contained in:
parent
987e6bcb54
commit
9fa46597d1
2 changed files with 41 additions and 22 deletions
|
|
@ -145,7 +145,7 @@ public class DynmapPlugin extends JavaPlugin {
|
|||
webServer = new HttpServer(bindAddress, port);
|
||||
webServer.handlers.put("/", new FilesystemHandler(getFile(configuration.getString("webpath", "web"))));
|
||||
webServer.handlers.put("/tiles/", new FilesystemHandler(tilesDirectory));
|
||||
webServer.handlers.put("/up/", new ClientUpdateHandler(mapManager, playerList, getServer(), configuration.getBoolean("health-in-json", false)));
|
||||
webServer.handlers.put("/up/", new ClientUpdateHandler(this, configuration.getBoolean("health-in-json", false)));
|
||||
webServer.handlers.put("/up/configuration", new ClientConfigurationHandler(this));
|
||||
|
||||
if (configuration.getBoolean("allowwebchat", false)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue