summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorementalo <ementalodev@gmx.co.uk>2012-06-18 12:01:17 +0100
committerementalo <ementalodev@gmx.co.uk>2012-06-18 12:01:17 +0100
commit492239724c2b56f0c318b87ecbef1eb9f2cfc6d6 (patch)
treea38683951ec96db806850fd9606a27608d729088
parent8cc61d3b3388c17131be05cb9c7d14603fc07108 (diff)
downloadEssentials-492239724c2b56f0c318b87ecbef1eb9f2cfc6d6.tar
Essentials-492239724c2b56f0c318b87ecbef1eb9f2cfc6d6.tar.gz
Essentials-492239724c2b56f0c318b87ecbef1eb9f2cfc6d6.tar.lz
Essentials-492239724c2b56f0c318b87ecbef1eb9f2cfc6d6.tar.xz
Essentials-492239724c2b56f0c318b87ecbef1eb9f2cfc6d6.zip
Broadcast command allows colour formatting.
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandbroadcast.java4
1 files 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))));
}
}