Display the game in sky text if we're map voting

This commit is contained in:
Sam 2018-07-05 16:54:13 +01:00 committed by Alexander Meech
parent 0cd93db5a4
commit 9cf4fba4c2

View File

@ -430,7 +430,14 @@ public abstract class LobbyManager implements Listener
{ {
if (forVote) if (forVote)
{ {
for (int i = 0; i < 3; i++) int i = 0;
if (_manager.GetServerConfig().MapVoting)
{
writeGameLine(_manager.GetServerConfig().GameList.get(0).getName(), i++, Material.STAINED_CLAY.getId(), (byte) 14);
}
for (; i < 3; i++)
{ {
writeGameLine("", i, Material.AIR.getId(), (byte) 0); writeGameLine("", i, Material.AIR.getId(), (byte) 0);
} }