Skip to content

Commit

Permalink
Hotfix to Update
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoliee committed Dec 2, 2024
1 parent 194a4a9 commit 2f2429c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>org.nicolie</groupId>
<artifactId>TowersBot</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
<packaging>jar</packaging>
<name>TowersBot</name>
<properties>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/nicolie/towersbot/update/AutoUpdate.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public AutoUpdate(JavaPlugin plugin) {

public void checkForUpdates() {
String currentVersion = plugin.getDescription().getVersion();
String apiUrl = "https://github.com/nicoliee/TowersBot/releases/latest";
String apiUrl = "https://api.github.com/repos/nicoliee/TowersBot/releases/latest";

Bukkit.getScheduler().runTaskAsynchronously(plugin, () -> {
try {
Expand Down

0 comments on commit 2f2429c

Please sign in to comment.