Fixed a crazy double new line
This commit is contained in:
parent
5c8b550d6f
commit
b62042718f
@ -285,6 +285,8 @@ public class ServerSelectionPage extends ShopPageBase<ServerManager, ServerSelec
|
||||
// Voting enabled
|
||||
if (votingOn != null)
|
||||
{
|
||||
boolean newLine = false;
|
||||
|
||||
// Has information
|
||||
if (votingStatus != null)
|
||||
{
|
||||
@ -296,6 +298,8 @@ public class ServerSelectionPage extends ShopPageBase<ServerManager, ServerSelec
|
||||
{
|
||||
builder.addLore(votingColour + votingStatus);
|
||||
}
|
||||
|
||||
newLine = true;
|
||||
}
|
||||
|
||||
// Is voting
|
||||
@ -305,9 +309,14 @@ public class ServerSelectionPage extends ShopPageBase<ServerManager, ServerSelec
|
||||
{
|
||||
builder.addLore(C.cYellow + votingOn + ": " + C.cWhite + value);
|
||||
}
|
||||
|
||||
newLine = true;
|
||||
}
|
||||
|
||||
builder.addLore("");
|
||||
if (newLine)
|
||||
{
|
||||
builder.addLore("");
|
||||
}
|
||||
}
|
||||
|
||||
// Map
|
||||
|
Loading…
Reference in New Issue
Block a user