diff --git a/src/main/java/carpet/logging/instantfall/InstantFallLogger.java b/src/main/java/carpet/logging/instantfall/InstantFallLogger.java index ecbb5962..b49cc6fc 100644 --- a/src/main/java/carpet/logging/instantfall/InstantFallLogger.java +++ b/src/main/java/carpet/logging/instantfall/InstantFallLogger.java @@ -3,6 +3,7 @@ import carpet.logging.AbstractLogger; import carpet.utils.Messenger; import net.minecraft.util.text.ITextComponent; +import net.minecraft.util.text.TextFormatting; public class InstantFallLogger extends AbstractLogger { @@ -21,6 +22,9 @@ public static InstantFallLogger getInstance() public void onInstantFallFlagFlipped(boolean currentFlag) { - this.log(() -> new ITextComponent[]{advTr("flag_changed", "InstantFall flag has changed to %s", Messenger.bool(currentFlag))}); + this.log(() -> new ITextComponent[]{Messenger.formatting( + advTr("flag_changed", "InstantFall flag changed to %s", Messenger.bool(currentFlag)), + TextFormatting.LIGHT_PURPLE, TextFormatting.ITALIC + )}); } } diff --git a/src/main/resources/assets/carpet/lang/zh_cn.yml b/src/main/resources/assets/carpet/lang/zh_cn.yml index b616309d..e307e717 100644 --- a/src/main/resources/assets/carpet/lang/zh_cn.yml +++ b/src/main/resources/assets/carpet/lang/zh_cn.yml @@ -562,7 +562,7 @@ logger: .: 可视化投掷物记录器:可视化规则未启用 hint: 点击以启用 instantfall: - flag_changed: 瞬时落沙 flag 已切换为 %s + flag_changed: 瞬时落沙flag已切换为%s raid_invalidate_reason: difficulty_peaceful: 难度被设为和平