aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/mixins/MixinLayerArmorBase.java
diff options
context:
space:
mode:
authorNopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com>2024-08-04 23:55:53 +1000
committerGitHub <noreply@github.com>2024-08-04 15:55:53 +0200
commitd2ea5ba43970e4beef98d6ba2b1bfb49ba73ab1d (patch)
tree42361e9f78b9e872f12d97a72853813e152f26ba /src/main/java/io/github/moulberry/notenoughupdates/mixins/MixinLayerArmorBase.java
parent2b2f59ef37e93f11a70a44bc83d81ac8d9b64381 (diff)
downloadnotenoughupdates-d2ea5ba43970e4beef98d6ba2b1bfb49ba73ab1d.tar.gz
notenoughupdates-d2ea5ba43970e4beef98d6ba2b1bfb49ba73ab1d.tar.bz2
notenoughupdates-d2ea5ba43970e4beef98d6ba2b1bfb49ba73ab1d.zip
Add gradient mode for animated dyes (#1260)
Co-authored-by: Linnea Gräf <nea@nea.moe>
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/mixins/MixinLayerArmorBase.java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/mixins/MixinLayerArmorBase.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/mixins/MixinLayerArmorBase.java b/src/main/java/io/github/moulberry/notenoughupdates/mixins/MixinLayerArmorBase.java
index 8f4e74d5..8a71d205 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/mixins/MixinLayerArmorBase.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/mixins/MixinLayerArmorBase.java
@@ -84,7 +84,7 @@ public abstract class MixinLayerArmorBase<T extends ModelBase> {
ItemCustomizeManager.ItemData data = ItemCustomizeManager.getDataForItem(stack);
if (data != null && data.animatedLeatherColours != null && data.animatedDyeTicks > 0 && ItemCustomizeManager.shouldRenderLeatherColour(stack)) {
- return ItemCustomizationUtils.getAnimatedDyeColour(data.animatedLeatherColours, data.animatedDyeTicks);
+ return ItemCustomizationUtils.getAnimatedDyeColour(data.animatedLeatherColours, data.animatedDyeTicks, data.dyeMode);
} else if (data != null && data.customLeatherColour != null && ItemCustomizeManager.shouldRenderLeatherColour(stack)) {
return ChromaColour.specialToChromaRGB(data.customLeatherColour);
}