bc panther asked for it

This commit is contained in:
Super_
2020-01-02 00:51:02 -05:00
parent eb3a266bf6
commit 35ef866690
3 changed files with 66 additions and 0 deletions

View File

@ -4,6 +4,7 @@ import com.google.common.base.Strings;
import me.totalfreedom.totalfreedommod.admin.Admin;
import me.totalfreedom.totalfreedommod.config.ConfigEntry;
import me.totalfreedom.totalfreedommod.player.FPlayer;
import me.totalfreedom.totalfreedommod.playerverification.VPlayer;
import me.totalfreedom.totalfreedommod.rank.Displayable;
import me.totalfreedom.totalfreedommod.util.FLog;
import me.totalfreedom.totalfreedommod.util.FSync;
@ -90,6 +91,12 @@ public class ChatManager extends FreedomService
}
}
VPlayer vPlayer = plugin.pv.getVerificationPlayer(player);
if (vPlayer.getColor() != null)
{
message = vPlayer.getColor() + message;
}
// Finally, set message
event.setMessage(message);