fix error
This commit is contained in:
@@ -4,6 +4,7 @@ using ReallifeGamemode.Server.Extensions;
|
||||
using ReallifeGamemode.Server.Job;
|
||||
using ReallifeGamemode.Server.Util;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
/**
|
||||
* @overview Life of German Reallife - Chat Service (ChatService.cs)
|
||||
@@ -36,6 +37,8 @@ namespace ReallifeGamemode.Server.Services
|
||||
player.SendChatMessage(message);
|
||||
}
|
||||
|
||||
public static void Broadcast(string message) => NAPI.Pools.GetAllPlayers().Where(c => c.IsLoggedIn()).ToList().ForEach(c => SendMessage(c, message));
|
||||
|
||||
/// <summary>
|
||||
/// Sendet eine Nachricht an eine Liste von Fraktionen
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user