Add debug for Faction

This commit is contained in:
hydrant
2018-09-22 23:34:55 +02:00
parent 4d733b48c1
commit da876a4a9f
2 changed files with 2 additions and 13 deletions

View File

@@ -21,18 +21,6 @@ namespace reallife_gamemode.Server.Commands
{
User u = player.GetUser();
if(u == null)
{
NAPI.Util.ConsoleOutput("u is null");
return;
}
Entities.Faction f = u.Faction;
if(f == null)
{
NAPI.Util.ConsoleOutput("f is null");
return;
}
string broadcastMessage = "** " + player.Name + ": " + message + " )) **";
ChatService.BroadcastFaction(broadcastMessage, player.GetFaction());