Fixes inconsistencies in coloring of the portal name when drawing signs. The - is now white.

This commit is contained in:
Kristian Knarvik 2021-10-17 22:47:27 +02:00
parent 3de785d5ab
commit fabe0dda80

View File

@ -19,7 +19,8 @@ public final class SignHelper {
for (int index = 0; index <= 3; index++) {
sign.setLine(index, "");
}
Stargate.setLine(sign, 0, "-" + portal.getName() + "-");
Stargate.setLine(sign, 0, ChatColor.WHITE + "-" + ChatColor.BLACK + portal.getName() +
ChatColor.WHITE + "-");
if (!portal.isActive()) {
//Default sign text