Water tint
This commit is contained in:
+1
-1
@@ -624,7 +624,7 @@ export function validate_block(json: unknown): Problems {
|
||||
if (json.tint !== undefined) {
|
||||
const tint = json.tint;
|
||||
if (!is_object(tint) || !is_tint_color(tint.color)) {
|
||||
problems.push('tint.color must be "grass", "foliage" or a color like "#80a755"');
|
||||
problems.push('tint.color must be "grass", "foliage", "water" or a color like "#80a755"');
|
||||
} else if (
|
||||
tint.textures !== undefined &&
|
||||
!(Array.isArray(tint.textures) && tint.textures.every((name) => typeof name === "string"))
|
||||
|
||||
Reference in New Issue
Block a user