From 140814d503f5c2b400e6bb41bc471a5089f3d9e2 Mon Sep 17 00:00:00 2001 From: DaanV2 Date: Sun, 10 Jan 2021 17:21:48 +0100 Subject: [PATCH] Fixing items textures not accepting dots --- resource/textures/item_texture.json | 2 +- resource/textures/terrain_texture.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resource/textures/item_texture.json b/resource/textures/item_texture.json index fcf84476..23d07b23 100644 --- a/resource/textures/item_texture.json +++ b/resource/textures/item_texture.json @@ -42,7 +42,7 @@ "description": "TODO: add description", "type": "object", "propertyNames": { - "pattern": "^[\\w_\\-]+$" + "pattern": "^[\\w_\\-\\.]+$" }, "additionalProperties": { "title": "Texture data", diff --git a/resource/textures/terrain_texture.json b/resource/textures/terrain_texture.json index d695231d..adb799db 100644 --- a/resource/textures/terrain_texture.json +++ b/resource/textures/terrain_texture.json @@ -81,7 +81,7 @@ "texture_data": { "type": "object", "propertyNames": { - "pattern": "^[\\w_\\-]+$" + "pattern": "^[\\w_\\-\\.]+$" }, "additionalProperties": { "type": "object",