This commit is contained in:
aviate
2019-09-29 22:38:04 +02:00
parent 05ee31dbd1
commit eb645d6cc1

View File

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