Rename continues

This commit is contained in:
Norbi Peti 2016-06-23 01:44:21 +02:00
parent 71bd4e6606
commit 47a73ac24d

View file

@ -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);