From 492239724c2b56f0c318b87ecbef1eb9f2cfc6d6 Mon Sep 17 00:00:00 2001 From: ementalo Date: Mon, 18 Jun 2012 12:01:17 +0100 Subject: [PATCH] Broadcast command allows colour formatting. --- .../com/earth2me/essentials/commands/Commandbroadcast.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandbroadcast.java b/Essentials/src/com/earth2me/essentials/commands/Commandbroadcast.java index 572da8f67..df2c5e114 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandbroadcast.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandbroadcast.java @@ -1,6 +1,7 @@ package com.earth2me.essentials.commands; import static com.earth2me.essentials.I18n._; +import com.earth2me.essentials.utils.Util; import org.bukkit.command.CommandSender; @@ -13,7 +14,6 @@ public class Commandbroadcast extends EssentialsCommand { throw new NotEnoughArgumentsException(); } - - ess.broadcastMessage(null, _("broadcast", getFinalArg(args, 0))); + ess.broadcastMessage(null, _("broadcast", Util.replaceFormat(getFinalArg(args, 0)))); } }