Disabled AFK kick during Tournament
This commit is contained in:
parent
b432c094d9
commit
0ce3b3fb2d
|
@ -40,9 +40,12 @@ public class IdleManager implements Listener
|
||||||
if (event.getType() != UpdateType.FAST)
|
if (event.getType() != UpdateType.FAST)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (Manager.GetGame() == null)
|
if (Manager.IsTournamentServer())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (Manager.GetGame() == null)
|
||||||
|
return;
|
||||||
|
|
||||||
if (Manager.GetGame() != null && !Manager.GetGame().IdleKick)
|
if (Manager.GetGame() != null && !Manager.GetGame().IdleKick)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue