Skip to content

Commit

Permalink
[ci-skip] whitespace
Browse files Browse the repository at this point in the history
granny committed Apr 4, 2024
1 parent 94cac64 commit 38b94ef
Showing 2 changed files with 6 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -162,8 +162,8 @@ private void parseSettings() {
lang.put("title", Lang.UI_TITLE);
lang.put("langFile", Lang.UI_BLOCK_AND_BIOME_LANG_FILE);
lang.put("blockInfo", Map.of(
"label", Lang.UI_BLOCKINFO_LABEL,
"value", Lang.UI_BLOCKINFO_VALUE,
"label", Lang.UI_BLOCKINFO_LABEL,
"value", Lang.UI_BLOCKINFO_VALUE,
"unknown", Map.of("block", Lang.UI_BLOCKINFO_UNKNOWN_BLOCK, "biome", Lang.UI_BLOCKINFO_UNKNOWN_BIOME))
);
lang.put("coords", Map.of("label", Lang.UI_COORDS_LABEL, "value", Lang.UI_COORDS_VALUE));
11 changes: 4 additions & 7 deletions webmap/src/settings/Lang.ts
Original file line number Diff line number Diff line change
@@ -88,13 +88,12 @@ export class Label {
export class BlockInfoUnknown {
private readonly _block: string;
private readonly _biome: string;



constructor(block: string, biome: string) {
this._block = block;
this._biome = biome;
}

get block(): string {
return this._block;
}
@@ -104,19 +103,17 @@ export class BlockInfoUnknown {
}
}


/**
* Represents a label and a value, with 'unknown' values.
*/
export class BlockInfo extends Label {
private readonly _unknown: BlockInfoUnknown;



constructor(label: string, value: string, unknown: BlockInfoUnknown) {
super(label, value);
this._unknown = unknown;
}

get unknown(): BlockInfoUnknown {
return this._unknown;
}

0 comments on commit 38b94ef

Please sign in to comment.