Transfered client-updates to two components (jsonfile and internal).

This commit is contained in:
FrozenCow 2011-05-21 02:01:26 +02:00
parent 9fa46597d1
commit d5b4f6c8c4
11 changed files with 271 additions and 245 deletions

View file

@ -0,0 +1,12 @@
package org.dynmap;
import org.dynmap.web.handlers.ClientUpdateHandler;
public class InternalClientUpdateComponent extends ClientUpdateComponent {
public InternalClientUpdateComponent(DynmapPlugin plugin, ConfigurationNode configuration) {
super(plugin, configuration);
plugin.webServer.handlers.put("/up/", new ClientUpdateHandler(plugin));
}
}