File tree Expand file tree Collapse file tree 2 files changed +13
-7
lines changed
src/main/java/de/lemaik/chunkymap/dynmap Expand file tree Collapse file tree 2 files changed +13
-7
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <project xmlns =" http://maven.apache.org/POM/4.0.0"
3
- xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
- xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
2
+ <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
5
3
<modelVersion >4.0.0</modelVersion >
6
4
7
5
<groupId >de.lemaik.chunkymap</groupId >
8
6
<artifactId >ChunkyMap</artifactId >
9
- <version >2.5.2 </version >
7
+ <version >2.6.0-pre3 </version >
10
8
11
9
<licenses >
12
10
<license >
64
62
<version >3.2</version >
65
63
</dependency >
66
64
<dependency >
67
- <!-- this is an older version, but 3.0-SNAPSHOT can't be installed and this works, too -->
68
65
<groupId >us.dynmap</groupId >
69
66
<artifactId >DynmapCore</artifactId >
70
- <version >2.3 </version >
67
+ <version >3.2.1 </version >
71
68
<scope >provided</scope >
69
+ <exclusions >
70
+ <exclusion >
71
+ <!-- downloading fails -->
72
+ <groupId >javax.servlet</groupId >
73
+ <artifactId >javax.servlet-api</artifactId >
74
+ </exclusion >
75
+ </exclusions >
72
76
</dependency >
73
77
<dependency >
74
78
<groupId >com.squareup.okhttp3</groupId >
174
178
</resource >
175
179
</resources >
176
180
</build >
177
- </project >
181
+ </project >
Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ public ChunkyMapTile(DynmapWorld world, String parm) throws Exception {
51
51
52
52
@ Override
53
53
public boolean render (MapChunkCache mapChunkCache , String mapName ) {
54
+ final long startTimestamp = System .currentTimeMillis ();
54
55
IsoHDPerspective perspective = (IsoHDPerspective ) this .perspective ;
55
56
56
57
final int scaled = (boostzoom > 0 && MarkerAPIImpl
@@ -146,6 +147,7 @@ public boolean render(MapChunkCache mapChunkCache, String mapName) {
146
147
mtile .getWriteLock ();
147
148
try {
148
149
if (!mtile .matchesHashCode (crc )) {
150
+ mtile .write (crc , image , startTimestamp );
149
151
mapManager .pushUpdate (getDynmapWorld (), new Tile (mtile .getURI ()));
150
152
tileUpdated = true ;
151
153
}
You can’t perform that action at this time.
0 commit comments