mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-24 03:05:28 +01:00
Update chunk state/version shaders
This commit is contained in:
parent
24d78e5f78
commit
99caded016
@ -22,7 +22,7 @@ import org.dynmap.utils.MapIterator;
|
||||
import org.json.simple.JSONObject;
|
||||
|
||||
// Shader for color coding by chunk data version
|
||||
public class VersionHDShader implements HDShader {
|
||||
public class ChunkVersionHDShader implements HDShader {
|
||||
private final String name;
|
||||
|
||||
private static class DataVersionMap {
|
||||
@ -64,7 +64,7 @@ public class VersionHDShader implements HDShader {
|
||||
|
||||
private ArrayList<Integer> unknown_vers = new ArrayList<Integer>();
|
||||
|
||||
public VersionHDShader(DynmapCore core, ConfigurationNode configuration) {
|
||||
public ChunkVersionHDShader(DynmapCore core, ConfigurationNode configuration) {
|
||||
name = (String) configuration.get("name");
|
||||
}
|
||||
|
||||
@ -131,7 +131,7 @@ public class VersionHDShader implements HDShader {
|
||||
* Get our shader
|
||||
*/
|
||||
public HDShader getShader() {
|
||||
return VersionHDShader.this;
|
||||
return ChunkVersionHDShader.this;
|
||||
}
|
||||
|
||||
/**
|
@ -195,7 +195,7 @@ shaders:
|
||||
color3000: "#FF0000"
|
||||
|
||||
# Chunk version shader (shades by version of data format)
|
||||
- class: org.dynmap.hdmap.VersionHDShader
|
||||
- class: org.dynmap.hdmap.ChunkVersionHDShader
|
||||
name: chunkversion
|
||||
# Chunk status shader (shades by chunk state)
|
||||
- class: org.dynmap.hdmap.ChunkStatusHDShader
|
||||
|
Loading…
Reference in New Issue
Block a user