Retrieve value of global showlabel
config. Fixes #6
This commit is contained in:
parent
d82107c037
commit
64058ed66f
@ -134,6 +134,13 @@ function buildComponents(response: any): DynmapComponentConfig {
|
||||
const type = component.type || "unknown";
|
||||
|
||||
switch(type) {
|
||||
case "markers":
|
||||
components.markers = {
|
||||
showLabels: component.showlabel || false,
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
case "playermarkers":
|
||||
components.playerMarkers = {
|
||||
hideByDefault: component.hidebydefault || false,
|
||||
|
Loading…
Reference in New Issue
Block a user