use of com.massivecraft.massivecore.MassiveCoreMConf in project MassiveCore by MassiveCraft.
the class NmsChat method sendChatPlain.
public void sendChatPlain(Object sendeeObject, String plain) {
CommandSender sendee = IdUtil.getSender(sendeeObject);
if (sendee == null)
return;
MassiveCoreMConf mconf = MassiveCoreMConf.get();
if (mconf != null && !mconf.consoleColorsEnabled && sendee instanceof ConsoleCommandSender) {
plain = ChatColor.stripColor(plain);
}
sendee.sendMessage(plain);
}
Aggregations