Transfered client-updates to two components (jsonfile and internal).
This commit is contained in:
parent
9fa46597d1
commit
d5b4f6c8c4
11 changed files with 271 additions and 245 deletions
12
src/main/java/org/dynmap/InternalClientUpdateComponent.java
Normal file
12
src/main/java/org/dynmap/InternalClientUpdateComponent.java
Normal 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));
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue