Notification when temp group expires

This commit is contained in:
White 2015-04-06 12:18:18 +09:30
parent bddcf81331
commit d0a962bd0f

View file

@ -529,6 +529,8 @@ namespace TShockAPI
public void TempGroupTimerElapsed(object sender, ElapsedEventArgs args) public void TempGroupTimerElapsed(object sender, ElapsedEventArgs args)
{ {
SendWarningMessage("Your temporary group access has expired.");
tempGroup = null; tempGroup = null;
if (sender != null) if (sender != null)
{ {