Skip to content

Commit

Permalink
update url change
Browse files Browse the repository at this point in the history
  • Loading branch information
hank9999 committed May 4, 2020
1 parent bd634f7 commit 6d8c10a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public Update_Checker(Plugin plugin) {

public void getVersion(final Consumer<String> consumer) {
Bukkit.getScheduler().runTaskAsynchronously(this.plugin, () -> {
try (InputStream inputStream = new URL("https://raw.githubusercontent.com/hank9999/KeywordBlock/master/version").openStream(); Scanner scanner = new Scanner(inputStream)) {
try (InputStream inputStream = new URL("https://hank9999.github.io/KeywordBlock/version").openStream(); Scanner scanner = new Scanner(inputStream)) {
if (scanner.hasNext()) {
consumer.accept(scanner.next());
}
Expand Down

0 comments on commit 6d8c10a

Please sign in to comment.