Fix Twitch+ Mps not properly showing information via MOTD
This commit is contained in:
parent
5e5b607fc8
commit
1736b198f2
|
@ -935,16 +935,16 @@ public class ArcadeManager extends MiniPlugin implements IRelation
|
|||
+ "|" + ((_game == null || _game.WorldData == null) ? "Unknown" : _game.WorldData.MapName);
|
||||
|
||||
if (_gameHostManager.isPrivateServer() && _gameHostManager.hasRank(Rank.TWITCH))
|
||||
{
|
||||
extrainformation += "|HostRank." + _gameHostManager.getHostRank().toString();
|
||||
|
||||
//Always Joinable
|
||||
// if (_game != null && _game.JoinInProgress)
|
||||
// {
|
||||
// event.setMotd(ChatColor.GREEN + "Recruiting" + extrainformation);
|
||||
// }
|
||||
|
||||
//Recruiting
|
||||
else if (_game == null || _game.GetState() == GameState.Recruit)
|
||||
}
|
||||
//Always Joinable
|
||||
/*if (_game != null && _game.JoinInProgress)
|
||||
{
|
||||
event.setMotd(ChatColor.GREEN + "Recruiting" + extrainformation);
|
||||
}
|
||||
//Recruiting
|
||||
else */if (_game == null || _game.GetState() == GameState.Recruit)
|
||||
{
|
||||
if (_game != null && _game.GetCountdown() != -1)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue