Notification when temp group expires
This commit is contained in:
parent
bddcf81331
commit
d0a962bd0f
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue