added name in /time

This commit is contained in:
aviate
2019-09-29 21:59:15 +02:00
parent 80a6362cf4
commit 004a9c7b48
2 changed files with 1 additions and 2 deletions

View File

@@ -1638,7 +1638,7 @@ namespace ReallifeGamemode.Server.Commands
return;
}
string broadcastMsg = $"Serverzeit wurde auf ~g~{hour:D2}:{min:D2}:{sec:D2} ~s~gesetzt!";
string broadcastMsg = $"Serverzeit wurde von ~g~" + player.Name + " ~s~auf ~g~{hour:D2}:{min:D2}:{sec:D2} ~s~gesetzt!";
NAPI.Notification.SendNotificationToAll(broadcastMsg);
TimeManager.PauseTimeManager();
NAPI.World.SetTime(hour, min, sec);