Update chunk state/version shaders

This commit is contained in:
Mike Primm 2021-12-19 23:44:48 -06:00
parent 24d78e5f78
commit 99caded016
2 changed files with 4 additions and 4 deletions

View File

@ -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;
}
/**

View File

@ -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