Fixes inconsistencies in coloring of the portal name when drawing signs. The - is now white.
This commit is contained in:
parent
3de785d5ab
commit
fabe0dda80
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user