Added removeNick, removeSuffix, and removePrefix to remove each respective feature

This commit is contained in:
cerevisiae
2010-12-10 03:15:39 -06:00
parent 8d8553c568
commit 4d730dbd00
4 changed files with 175 additions and 12 deletions

View File

@ -465,11 +465,11 @@ public class vMinecraftChat {
//Output: boolean: If this feature is enabled
//Use: /me but with our custom colors applied
//=====================================================================
public static boolean emote(Player player, String message)
{
gmsg(player, "* " + getName(player) + " " + Colors.White + message);
return true;
}
public static boolean emote(Player player, String message)
{
gmsg(player, "* " + getName(player) + " " + Colors.White + message);
return true;
}
//=====================================================================
@ -501,7 +501,7 @@ public class vMinecraftChat {
{
//If the char is a ^ or <20>
if(taste || msg.charAt(x) == '^'
|| msg.charAt(x) == Colors.White.charAt(0))
|| msg.charAt(x) == Colors.Red.charAt(0))
{
if(x != msg.length() - 1)
{