Skip to content

Commit

Permalink
Fix fly command chat feedback.
Browse files Browse the repository at this point in the history
  • Loading branch information
John-Paul-R committed Sep 25, 2021
1 parent f98d4c4 commit ae31b65
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -78,7 +78,7 @@ public static void exec(ServerCommandSource source, ServerPlayerEntity target, b
source.sendFeedback(
TextUtil.concat(
ECText.getInstance().getText("cmd.fly.feedback.1").setStyle(CONFIG.FORMATTING_DEFAULT.getValue()),
new LiteralText(playerAbilities.allowFlying ? "enabled" : "disabled").setStyle(CONFIG.FORMATTING_ACCENT.getValue()),
new LiteralText(shouldEnableFly ? "enabled" : "disabled").setStyle(CONFIG.FORMATTING_ACCENT.getValue()),
ECText.getInstance().getText("cmd.fly.feedback.2").setStyle(CONFIG.FORMATTING_DEFAULT.getValue()),
target.getDisplayName(),
new LiteralText(".").setStyle(CONFIG.FORMATTING_DEFAULT.getValue())
Expand Down

0 comments on commit ae31b65

Please sign in to comment.