69 int ordinal = player.attributes.get(
"PLAYER_TITLE_KEY", Integer.class);
75 if (title.ordinal() == ordinal) {
78 player.send(
new SendString((title.ordinal() == ordinal ?
"<col=DEB07A>" :
"<col=A8865E>") + title.getTitle().getTitle(),
string));
79 player.send(
new SendTooltip(
"View title: <col=db9423>" + title.getTitle().getTitle() +
"</col>",
string - 1));
80 player.send(
new SendConfig(config, title.activated(player) ? 1 : 0));
89 String color = Integer.toHexString(view.getTitle().
getColor());
90 int scroll =
Title.values().length * 26;
92 for (
int index = 0; index < view.getRequirement().length; index++) {
93 player.send(
new SendString(view.getRequirement()[index], 39006 + index));
95 player.send(
new SendString(
"<col=" + (view.activated(player) ?
"A1D490>- UNLOCKED -" :
"E34F52>- LOCKED -"), 39019));