GamePlayerManager: Don't load kits if offline
This commit is contained in:
parent
a7986a0719
commit
1d961c7d81
@ -134,6 +134,9 @@ public class GamePlayerManager implements Listener
|
||||
@Override
|
||||
public void run()
|
||||
{
|
||||
if (!player.isOnline())
|
||||
return;
|
||||
|
||||
player.sendMessage(F.main("Kit", "Loading default kit for " + C.cGreenB + Manager.GetGame().GetName() + C.cGray + "..."));
|
||||
for (Kit kit : Manager.GetGame().GetKits())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user