Fix servers not knowning what game they were runnning
This commit is contained in:
parent
4cc26e36b2
commit
1352715a77
@ -1029,7 +1029,12 @@ public class ArcadeManager extends MiniPlugin implements IRelation
|
|||||||
game = _gameCreationManager.getNextGameType() == null ? "Voting" : _gameCreationManager.getNextGameType().getName();
|
game = _gameCreationManager.getNextGameType() == null ? "Voting" : _gameCreationManager.getNextGameType().getName();
|
||||||
map = "Voting";
|
map = "Voting";
|
||||||
}
|
}
|
||||||
else if (_game != null && _game.WorldData != null)
|
else if (!_serverConfig.GameVoting && !_serverConfig.GameList.isEmpty())
|
||||||
|
{
|
||||||
|
game = _serverConfig.GameList.get(0).getName();
|
||||||
|
}
|
||||||
|
|
||||||
|
if (_game != null && _game.WorldData != null)
|
||||||
{
|
{
|
||||||
map = _game.WorldData.MapName;
|
map = _game.WorldData.MapName;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user