Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed it to stop it from crashing #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@ public class Main : RocketPlugin

protected override void Load()
{
WebClient clt = new WebClient();
//WebClient clt = new WebClient();
Instance = this;
base.Load();
Logger.Log("[Plugin4U] SayAs Loaded!");
string a = clt.DownloadString("http://Plugin4U.cf/SayAs_Version.txt");
if(!(a == "1.0.0.0")) { Logger.LogWarning("Update! NEW VERSION : " + a); }
Logger.Log("Updated By DannyGaming1216!");
//string a = clt.DownloadString("http://Plugin4U.cf/SayAs_Version.txt");
//if(!(a == "1.0.0.0")) { Logger.LogWarning("Update! NEW VERSION : " + a); }
}


Expand Down
4 changes: 2 additions & 2 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("1.0.0.1")]
[assembly: AssemblyFileVersion("1.0.0.1")]