From 2ab7d7330722915f4d1eb704d99461e13e3a52ab Mon Sep 17 00:00:00 2001 From: SquareScreamYT <134925668+SquareScreamYT@users.noreply.github.com> Date: Wed, 3 Apr 2024 08:42:25 +0800 Subject: [PATCH] Update aChefsDream.js --- mods/aChefsDream.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/aChefsDream.js b/mods/aChefsDream.js index 6860c52a..028461f6 100644 --- a/mods/aChefsDream.js +++ b/mods/aChefsDream.js @@ -7083,7 +7083,7 @@ elements.food_coloring = { } else { if (!outOfBounds(pixelMap[x][y])) { - if (!eLists.FOODCOLORINGIGNORE.includes(pixelMap[x][y].element)) { + if (!eLists.FOODCOLORINGIGNORE.includes(pixelMap[x][y].element) && pixelMap[x][y].element !== "glass" && pixelMap[x][y].element !== "porcelain" && pixelMap[x][y].element !== "wall" && pixelMap[x][y].element !== "plastic") { let newrgb2 = interpolateRgb(getRGB(pixel.color), getRGB(pixelMap[x][y].color), 0.9); pixelMap[x][y].color = `rgb(${parseInt(newrgb2.r)},${parseInt(newrgb2.g)},${parseInt(newrgb2.b)})`; if (Math.random() < 0.002) {