mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2026-02-08 07:25:29 +00:00
Added removeNick, removeSuffix, and removePrefix to remove each respective feature
This commit is contained in:
@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user