player.SendChatMessage -> ChatService.SendMessage

This commit is contained in:
hydrant
2019-05-23 11:44:36 +02:00
parent 993f9972cd
commit ffafe085f9
12 changed files with 147 additions and 144 deletions

View File

@@ -9,6 +9,7 @@ using ReallifeGamemode.Server.Factions.Medic;
using ReallifeGamemode.Server.Inventory;
using ReallifeGamemode.Server.Managers;
using ReallifeGamemode.Server.Models;
using ReallifeGamemode.Server.Services;
using ReallifeGamemode.Server.Util;
/**
* @overview Life of German Reallife - Event Key (Key.cs)
@@ -30,7 +31,7 @@ namespace ReallifeGamemode.Server.Events
switch (saveMode)
{
case "none":
player.SendChatMessage("~r~Keinen Modus ausgewählt! ~y~/quicksavemode ~r~für mehr Infos!");
ChatService.SendMessage(player, "~r~Keinen Modus ausgewählt! ~y~/quicksavemode ~r~für mehr Infos!");
break;
case "blip":