From edb788a0eb126ef051e838d5685b260855901bdc Mon Sep 17 00:00:00 2001 From: chemlzh Date: Sat, 1 Jun 2024 15:46:03 +0800 Subject: [PATCH] Temporal fix for #364 Temporal fix for #364, now backpacks can be dyed, both belt and pack. However, GTM chemical dyes can be used for recipes, which is not expected. Besides, backpacks cannot be dyed with chemical bath machines. The difficulty to fix these bugs is that I have not figured out how to set dyed color, since it's not replacing but mixing with original color. --- kubejs/server_scripts/sophisticated_backpacks/recipes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kubejs/server_scripts/sophisticated_backpacks/recipes.js b/kubejs/server_scripts/sophisticated_backpacks/recipes.js index c24f9d297..ce8796111 100644 --- a/kubejs/server_scripts/sophisticated_backpacks/recipes.js +++ b/kubejs/server_scripts/sophisticated_backpacks/recipes.js @@ -3,7 +3,7 @@ const registerSophisticatedBackpacksRecipes = (event) => { // Удаление рецептов мода sophisticatedBackpacks - event.remove({ mod: 'sophisticatedbackpacks' }) + event.remove({ mod: 'sophisticatedbackpacks', not: {type: 'sophisticatedbackpacks:backpack_dye'} }) // Рюкзаки