summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2012-06-10 23:35:50 +0100
committerKHobbits <rob@khobbits.co.uk>2012-06-10 23:35:50 +0100
commit011a89071ec20625b3b0ffef5972f76bf9da2228 (patch)
tree1e88e58341c165b048f2a139768deb20f87598c5
parentd227224bc8f4ab34844681cbc621c762ee8c56c1 (diff)
downloadEssentials-011a89071ec20625b3b0ffef5972f76bf9da2228.tar
Essentials-011a89071ec20625b3b0ffef5972f76bf9da2228.tar.gz
Essentials-011a89071ec20625b3b0ffef5972f76bf9da2228.tar.lz
Essentials-011a89071ec20625b3b0ffef5972f76bf9da2228.tar.xz
Essentials-011a89071ec20625b3b0ffef5972f76bf9da2228.zip
Broadcast command allows colour formatting.
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandbroadcast.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandbroadcast.java b/Essentials/src/com/earth2me/essentials/commands/Commandbroadcast.java
index 95bb967c6..e6eeda28b 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.Util;
import org.bukkit.Server;
import org.bukkit.command.CommandSender;
@@ -20,6 +21,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))));
}
}