kein afk modus während gangwar
This commit is contained in:
@@ -23,8 +23,14 @@ namespace ReallifeGamemode.Server.Events
|
||||
public void SetPlayerAfkStatus(Player player, bool status)
|
||||
{
|
||||
player.SetSharedData("isAfk", status);
|
||||
|
||||
if(status)
|
||||
{
|
||||
if (player.HasData("inGangWar"))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
player.SendNotification("Du wurdest ~b~AFK~s~ gesetzt", true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user