Removed update function
This commit is contained in:
parent
38ca8c1814
commit
c7e953da1e
1 changed files with 0 additions and 10 deletions
|
|
@ -51,7 +51,6 @@ namespace TShockAPI
|
||||||
{
|
{
|
||||||
if (ServerIsOutOfDate())
|
if (ServerIsOutOfDate())
|
||||||
{
|
{
|
||||||
EnableUpdateCommand();
|
|
||||||
NotifyAdministrators(globalChanges);
|
NotifyAdministrators(globalChanges);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -84,15 +83,6 @@ namespace TShockAPI
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void EnableUpdateCommand()
|
|
||||||
{
|
|
||||||
if (!updateCmd)
|
|
||||||
{
|
|
||||||
Commands.AddUpdateCommand();
|
|
||||||
updateCmd = true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private static void NotifyAdministrators(string[] changes)
|
private static void NotifyAdministrators(string[] changes)
|
||||||
{
|
{
|
||||||
NotifyAdministrator(TSPlayer.Server, changes);
|
NotifyAdministrator(TSPlayer.Server, changes);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue