Skip to content

Commit

Permalink
Fixed gradient on purified food
Browse files Browse the repository at this point in the history
  • Loading branch information
Lykrast committed Jul 14, 2019
1 parent 224275a commit c21f89f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public static int getColor(ItemStack stack, int tintIndex) {
float saturation = stack.getTagCompound().getFloat(NBT_SATURATION);

//Outside of the ranges, no gradient
if (saturation >= 1.2F) return 0x8CF4E2;
if (saturation >= 2.0F) return 0x8CF4E2;
else if (saturation <= 0.1F) return 0x636D1E;
else {
//Find the corresponding range
Expand Down

0 comments on commit c21f89f

Please sign in to comment.