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
commit8b47b80b0b32c122722958d91422219c1008cb5c (patch)
tree5c9b656fcbd39709bb590c6f5415107d478eee51
parent13da8c3adcfa399c757d8a6170d9d0201f418efc (diff)
downloadEssentials-8b47b80b0b32c122722958d91422219c1008cb5c.tar
Essentials-8b47b80b0b32c122722958d91422219c1008cb5c.tar.gz
Essentials-8b47b80b0b32c122722958d91422219c1008cb5c.tar.lz
Essentials-8b47b80b0b32c122722958d91422219c1008cb5c.tar.xz
Essentials-8b47b80b0b32c122722958d91422219c1008cb5c.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))));
}
}