Skip to content

Commit

Permalink
Fix undyed leather armour turning black (#1091)
Browse files Browse the repository at this point in the history
  • Loading branch information
AzureAaron authored Dec 22, 2024
1 parent f9a6f61 commit f37072c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ public class DyedColorComponentMixin {
return ColorHelper.fullAlpha(CustomArmorAnimatedDyes.animateColorTransition(SkyblockerConfigManager.get().general.customAnimatedDyes.get(itemUuid)));
}

return ColorHelper.fullAlpha(SkyblockerConfigManager.get().general.customDyeColors.getOrDefault(itemUuid, originalColor));
if (SkyblockerConfigManager.get().general.customDyeColors.containsKey(itemUuid)) {
return ColorHelper.fullAlpha(SkyblockerConfigManager.get().general.customDyeColors.getInt(itemUuid));
}
}

return originalColor;
Expand Down

0 comments on commit f37072c

Please sign in to comment.