diff --git a/src/main/java/com/minelittlepony/unicopia/entity/effect/EffectUtils.java b/src/main/java/com/minelittlepony/unicopia/entity/effect/EffectUtils.java index f60e6876..fd63fc84 100644 --- a/src/main/java/com/minelittlepony/unicopia/entity/effect/EffectUtils.java +++ b/src/main/java/com/minelittlepony/unicopia/entity/effect/EffectUtils.java @@ -51,9 +51,9 @@ public interface EffectUtils { } static Text formatModifierChange(String modifierName, float change, boolean isDetrimental) { - return Text.translatable("attribute.modifier." + (change > 0 ? "plus" : "take") + ".addition", + return Text.literal(" ").append(Text.translatable("attribute.modifier." + (change > 0 ? "plus" : "take") + ".0", ItemStack.MODIFIER_FORMAT.format(Math.abs(change)), Text.translatable(modifierName) - ).formatted((isDetrimental ? change : -change) < 0 ? Formatting.DARK_GREEN : Formatting.RED); + ).formatted((isDetrimental ? change : -change) < 0 ? Formatting.DARK_GREEN : Formatting.RED)); } } diff --git a/src/main/resources/assets/unicopia/lang/en_us.json b/src/main/resources/assets/unicopia/lang/en_us.json index 91ec6e3c..60e60b2f 100644 --- a/src/main/resources/assets/unicopia/lang/en_us.json +++ b/src/main/resources/assets/unicopia/lang/en_us.json @@ -737,7 +737,7 @@ "affinity.unicopia.bad": "Bad", "affinity.unicopia.neutral": "Neutral", "affinity.unicopia.when_cast": "When Cast:", - "affinity.unicopia.corruption": " %s%.2f Corruption", + "affinity.unicopia.corruption": "Corruption", "gui.unicopia.trait.label": "Element of %s", "gui.unicopia.trait.group": "\n %s",