Rename continues
This commit is contained in:
parent
71bd4e6606
commit
47a73ac24d
1 changed files with 2 additions and 2 deletions
|
@ -26,9 +26,9 @@ public class UpdatePlugin extends AdminCommandBase {
|
|||
URL url;
|
||||
try {
|
||||
url = new URL(
|
||||
"https://github.com/NorbiPeti/thebuttonmcchat/raw/master/TheButtonAutoFlair.jar");
|
||||
"https://github.com/NorbiPeti/thebuttonmcchat/raw/master/TheButtonMCChat.jar"); //TODO: Save with this name
|
||||
FileUtils.copyURLToFile(url, new File(
|
||||
"plugins/TheButtonAutoFlair.jar"));
|
||||
"plugins/TheButtonMCChat.jar"));
|
||||
sender.sendMessage("Updating done!");
|
||||
} catch (MalformedURLException e) {
|
||||
System.out.println("Error!\n" + e);
|
||||
|
|
Loading…
Reference in a new issue