Add broadcastmessage to setweather command

This commit is contained in:
xNccPlay
2018-10-08 19:23:34 +02:00
parent 0dbafc0b94
commit ec594bc232
2 changed files with 2 additions and 23 deletions

View File

@@ -819,6 +819,8 @@ namespace reallife_gamemode.Server.Commands
if (!weatherBefore.Equals(weatherAfter))
{
NAPI.Chat.SendChatMessageToPlayer(player, "~w~Wetter geändert: " + NAPI.World.GetWeather());
string broadcastMsg = $"Das Wetter wurde auf {weatherAfter} gesetzt!";
NAPI.Chat.SendChatMessageToAll(broadcastMsg);
}
else
{